-
Notifications
You must be signed in to change notification settings - Fork 0
Hooks.Rendering
Mariusz edited this page Jul 18, 2020
·
3 revisions
Hooks' Rendering
nested class contains all utility methods based on rendering and layers.
Returns true if the given RectTransform is fully visible in anchored position bounds.
Returns true if the given RectTransform is visible.
Returns true if the Renderer is visible to the Camera.
Returns an array of layer string taken from their indexes.
Returns the layer index of a named layer.
Returns the layermask of all given layers.
Returns the layermask of a bitmask.
Shakes a Vector3 and a Quaternion to simulate shaking. Vector3 and Quaternion given must be properties or this method will not work.