C# Class Button2D, clockwork

Inheritance: MonoBehaviour
Datei anzeigen Open project: shadowseer99/clockwork Class Usage Examples

Public Properties

Property Type Description
customAction UnityEngine.UI.Button.ButtonClickedEvent
everyFrame bool
undoCustomAction UnityEngine.UI.Button.ButtonClickedEvent

Public Methods

Method Description
OnTriggerEnter2D ( Collider2D coll ) : void
OnTriggerExit2D ( Collider2D coll ) : void
Start ( ) : void
Update ( ) : void
isParentObjOrSameObj ( Transform parent, Transform child ) : bool

Private Methods

Method Description
SetState ( int newState ) : void

Method Details

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D coll ) : void
coll UnityEngine.Collider2D
return void

OnTriggerExit2D() public method

public OnTriggerExit2D ( Collider2D coll ) : void
coll UnityEngine.Collider2D
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

isParentObjOrSameObj() public method

public isParentObjOrSameObj ( Transform parent, Transform child ) : bool
parent Transform
child Transform
return bool

Property Details

customAction public_oe property

public UnityEngine.UI.Button.ButtonClickedEvent customAction
return UnityEngine.UI.Button.ButtonClickedEvent

everyFrame public_oe property

public bool everyFrame
return bool

undoCustomAction public_oe property

public UnityEngine.UI.Button.ButtonClickedEvent undoCustomAction
return UnityEngine.UI.Button.ButtonClickedEvent