Script interface for a Lens flare component.
This allows you to change the brightness and color of lens flares at runtime.
The flare asset to use.
The strength of the flare.
The color of the flare.
Enabled Behaviours are Updated, disabled Behaviours are not.
The tag of this game object.
The name of the object.
Should the object be hidden, saved with the scene or modifiable by the user?
Returns the component of Type type if the game object has one attached, null if it doesn't.
Returns the component of Type type in the GameObject or any of its children using depth first search.
Returns all components of Type type in the GameObject or any of its children.
Returns all components of Type type in the GameObject.
Is this game object tagged tag?
Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour.
Calls the method named methodName on every MonoBehaviour in this game object.
Calls the method named methodName on every MonoBehaviour in this game object or any of its children.
Returns the instance id of the object.
Returns the name of the game object.
Does the object exist?
Clones the object original and returns the clone.
Removes a gameobject, component or asset.
Destroys the object obj immediately. It is strongly recommended to use Destroy instead.
Returns a list of all active loaded objects of Type type.
Returns the first active loaded object of Type type.
Compares if two objects refer to the same.
Compares if two objects refer to a different object.
Makes the object target not be destroyed automatically when loading a new scene.