OnCollisionExit is called when this collider/rigidbody has stopped touching another rigidbody/collider. Sent when an incoming collider makes contact with this object's collider (2D physics only). OnCollisionEnter is called when this collider/rigidbody has begun touching another rigidbody/collider. OnBecameVisible is called when the renderer became visible by any camera. OnBecameInvisible is called when the renderer is no longer visible by any camera. If OnAudioFilterRead is implemented, Unity will insert a custom filter into the audio DSP chain. Sent to all game objects before the application quits. Sent to all GameObjects when the application pauses. Sent to all GameObjects when the player gets or loses focus. LateUpdate is called every frame, if the Behaviour is enabled.Ĭallback for setting up animation IK (inverse kinematics).Ĭallback for processing animation movements for modifying root motion. See MonoBehaviour.OnRectTransformParentChanged.Īwake is called when the script instance is being loaded.įrame-rate independent MonoBehaviour.FixedUpdate message for physics calculations. This callback is called if an associated RectTransform has its dimensions changed. See LayoutGroup.OnDidApplyAnimationProperties. See MonoBehaviour.OnBeforeTransformParentChanged.Ĭalled when the state of the parent Canvas is changed. Returns true if the native representation of the behaviour has been destroyed.Ĭallback function when a UI element needs to generate vertices.Ĭall to update the geometry of the Graphic onto the CanvasRenderer.Ĭall to update the Material of the graphic onto the CanvasRenderer. Returns true if the GameObject and the Component are active. Stops the first coroutine named methodName, or the coroutine stored in routine running on this behaviour. Stops all coroutines running on this behaviour. Invokes the method methodName in time seconds, then repeatedly every repeatRate seconds. Invokes the method methodName in time seconds. See IMaterialModifier.GetModifiedMaterial.Ĭancels all Invoke calls on this MonoBehaviour. Remove a listener from receiving notifications when the graphics vertices are dirtied. Remove a listener from receiving notifications when the graphics material is dirtied. Remove a listener from receiving notifications when the graphics layout is dirtied. Rebuilds the graphic geometry and its material on the PreRender cycle.Īdd a listener to receive notification when the graphics layout is dirtied.Īdd a listener to receive notification when the graphics material is dirtied.Īdd a listener to receive notification when the graphics vertices are dirtied. Then it uses this Raycast function to determine the elements hit by the raycast. First it filters the elements using their RectTransform rect. When a GraphicRaycaster is raycasting into the Scene it does two things. See ICanvasElement.GraphicUpdateComplete.Ĭallback function to call when the culling has changed.Įditor-only callback that is issued by Unity if a rebuild of the Graphic is required.Īdjusts the given pixel to be pixel perfect. Returns a pixel perfect Rect closest to the Graphic RectTransform. Tweens the CanvasRenderer color associated with this Graphic. Tweens the alpha of the CanvasRenderer color associated with this Graphic. Returns all components of Type type in the GameObject or any of its parents.Ĭalls the method named methodName on every MonoBehaviour in this game object.Ĭalls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour. Returns all components of Type type in the GameObject or any of its children. Returns all components of Type type in the GameObject. Returns the component of Type type in the GameObject or any of its parents. Returns the component of Type type in the GameObject or any of its children using depth first search. Returns the component of Type type if the game object has one attached, null if it doesn't. Should the object be hidden, saved with the Scene or modifiable by the user?Ĭalls the method named methodName on every MonoBehaviour in this game object or any of its children. The RectTransform component used by the Graphic.Īllow a specific instance of a MonoBehaviour to run in edit mode (only available in the editor).ĭisabling this lets you skip the GUI layout phase. Should this graphic be considered a target for raycasting? The material that will be sent for Rendering (Read only). Returns the default material for the graphic.Ībsolute depth of the graphic in the hierarchy, used by rendering and events. The Transform attached to this GameObject.Ī reference to the Canvas this Graphic is rendering to. A component is always attached to a game object. The game object this component is attached to. Has the Behaviour had active and enabled called? Enabled Behaviours are Updated, disabled Behaviours are not.
0 Comments
Leave a Reply. |