Component that determines whether an object should be rendered.
Optional
Reference to the GameObject this component is attached to.
Whether the object should be rendered.
The rendered opacity between zero (transparent) and one (opaque).
Optional lifecycle hook called when the component is added to a GameObject.
Component that determines whether an object should be rendered.