C# Class TurnOffLight, Hellbound

Turns off lights when a specific GameObject enters it's collider By Arvid Backman
Inheritance: MonoBehaviour
Show file Open project: Backman/Hellbound Class Usage Examples

Public Properties

Property Type Description
m_ColliderTag string
m_Delay float
m_Lights List
m_TurnOffSpeed float

Public Methods

Method Description
OnTriggerEnter ( Collider other ) : void

Private Methods

Method Description
turnOffLights ( ) : IEnumerator

Method Details

OnTriggerEnter() public method

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

Property Details

m_ColliderTag public property

public string m_ColliderTag
return string

m_Delay public property

public float m_Delay
return float

m_Lights public property

public List m_Lights
return List

m_TurnOffSpeed public property

public float m_TurnOffSpeed
return float