Click or drag to resize

Demo_OnTriggerExitColor Class

An example of how to use ASL_ObjectCollider OnTriggerExit. Pass a delegate function to ASL_ObjectCollider.ASL_OnTriggerExit(). This function will be called when the objcet collides with another ASLObject.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          SimpleDemosDemo_OnTriggerExitColor

Namespace:  SimpleDemos
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class Demo_OnTriggerExitColor : MonoBehaviour

The Demo_OnTriggerExitColor type exposes the following members.

Constructors
  NameDescription
Public methodDemo_OnTriggerExitColor
Initializes a new instance of the Demo_OnTriggerExitColor class
Top
Methods
  NameDescription
Private methodChangeColorOnTriggerExit
Delegate function called by OnCollitionExit by the ASL_ObjectCollider
Private methodStart
Top
Fields
  NameDescription
Public fieldColor
Private fieldm_ASLObjectCollider
Top
See Also