C# Class InteractWith, 2DPlatformer

Inheritance: MonoBehaviour
Show file 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 property

public bool inArea
return bool

onEnter public property

public UnityEvent onEnter
return UnityEvent

onExit public property

public UnityEvent onExit
return UnityEvent

onInteract public property

public UnityEvent onInteract
return UnityEvent