|
Windward
Action-adventure RPG available on Steam Early Access
|
Attaching this script to an object will make it visibly follow another object, even if the two are using different cameras to draw them. More...
Public Member Functions | |
| delegate void | OnVisibilityChange (bool isVisible) |
Public Attributes | |
| OnVisibilityChange | onChange |
| Callback triggered every time the object becomes visible or invisible. More... | |
| Transform | target |
| 3D target that this object will be positioned above. More... | |
| Camera | gameCamera |
| Game camera to use. More... | |
| Camera | uiCamera |
| UI camera to use. More... | |
| bool | disableIfInvisible = true |
| Whether the children will be disabled when this object is no longer visible. More... | |
| bool | destroyWithTarget = true |
| Destroy the game object when target disappears. More... | |
Properties | |
| bool | isVisible [get] |
| Whether the target is currently visible or not. More... | |
Attaching this script to an object will make it visibly follow another object, even if the two are using different cameras to draw them.
| delegate void UIFollowTarget.OnVisibilityChange | ( | bool | isVisible | ) |
| bool UIFollowTarget.destroyWithTarget = true |
Destroy the game object when target disappears.
| bool UIFollowTarget.disableIfInvisible = true |
Whether the children will be disabled when this object is no longer visible.
| Camera UIFollowTarget.gameCamera |
Game camera to use.
| OnVisibilityChange UIFollowTarget.onChange |
Callback triggered every time the object becomes visible or invisible.
| Transform UIFollowTarget.target |
3D target that this object will be positioned above.
| Camera UIFollowTarget.uiCamera |
UI camera to use.
|
get |
Whether the target is currently visible or not.
1.8.8