C# Class RoomTrigger, Asylum

Inheritance: MonoBehaviour
显示文件 Open project: jump4r/Asylum Class Usage Examples

Public Properties

Property Type Description
playerWithin bool

Public Methods

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

Method Details

Awake() public method

public Awake ( ) : void
return void

OnTriggerEnter() public method

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

OnTriggerExit() public method

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

Update() public method

public Update ( ) : void
return void

Property Details

playerWithin public_oe property

public bool playerWithin
return bool