C# Class InteractWith, 2DPlatformer

Inheritance: MonoBehaviour
ファイルを表示 Open project: MarbleGameDev/2DPlatformer Class Usage Examples

Public Properties

Property Type Description
inArea bool
onEnter UnityEvent
onExit UnityEvent
onInteract UnityEvent

Public Methods

Method Description
OnTriggerEnter ( Collider other ) : void
OnTriggerExit ( Collider other ) : void
Start ( ) : void
Update ( ) : void

Method Details

OnTriggerEnter() public method

public OnTriggerEnter ( Collider other ) : void
other Collider
return void

OnTriggerExit() public method

public OnTriggerExit ( Collider other ) : void
other Collider
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

inArea public_oe property

public bool inArea
return bool

onEnter public_oe property

public UnityEvent onEnter
return UnityEvent

onExit public_oe property

public UnityEvent onExit
return UnityEvent

onInteract public_oe property

public UnityEvent onInteract
return UnityEvent