Click or drag to resize

Demo_OnTriggerEnterColor Class

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

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

The Demo_OnTriggerEnterColor type exposes the following members.

Constructors
  NameDescription
Public methodDemo_OnTriggerEnterColor
Initializes a new instance of the Demo_OnTriggerEnterColor class
Top
Methods
  NameDescription
Private methodChangeColorOnTriggerEnter
Delegate function called by OnTriggerEnter by the ASL_ObjectCollider
Private methodStart
Top
Fields
  NameDescription
Public fieldColor
Private fieldm_ASLObjectCollider
Top
See Also