![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
An input button that loads another scene. Mainly for the samples. More...
Public Attributes | |
string | sceneToLoad |
The scene to load. More... | |
![]() | |
bool | touchMustStartInButton |
The touch must start in button. More... | |
Camera | inputCamera |
Camera being used to draw the input UI. More... | |
Protected Member Functions | |
override void | Released () |
Called when this this instance. More... | |
![]() | |
virtual void | Init () |
Init this instance. More... | |
virtual void | UpdateFingerState () |
Updates the state of the button based on fingers. More... | |
Additional Inherited Members | |
![]() | |
virtual void | OnButtonStateChanged () |
Raises the button state changed event. More... | |
![]() | |
ButtonState | buttonState = ButtonState.NONE |
The last state. More... | |
int | fingerId = -1 |
If this button was down or held which finger was doing the holding. More... | |
Collider2D | myCollider |
Cached collider for this button. More... | |
ButtonEventArgs | buttonEventArgs |
A cached button event args that we update so we don't need to allocate. More... | |
![]() | |
virtual ButtonState | ButtonState [get] |
Gets the state of the button. More... | |
![]() | |
ButtonState | ButtonState [get] |
Gets the state of the button. More... | |
![]() | |
System.EventHandler< ButtonEventArgs > | ButtonStateChanged |
Occurs when button state changes. Note that arguments are not a copy to avoid allocation. More... | |
An input button that loads another scene. Mainly for the samples.
|
protectedvirtual |
Called when this this instance.
Reimplemented from PlatformerPro.TouchButton.
string PlatformerPro.TouchButtonExit.sceneToLoad |
The scene to load.