Click or drag to resize

Demo_CollisionTests Class

An example of how ASL_ObjectColliders interact with Unity Colliders. To set up an ASL_ObjectCollider, assign a delegate function to the appropreate function within the ASL_ObjectCollider, ie. ASL_OnTriggerEnter, ASL_OnTriggerExit, ASL_OnTriggerStay. Note, ASL_ObjectCollider does not support physcis based Unity collisions between non Kinematic Rigidbodies.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          SimpleDemosDemo_CollisionTests

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

The Demo_CollisionTests type exposes the following members.

Constructors
  NameDescription
Public methodDemo_CollisionTests
Initializes a new instance of the Demo_CollisionTests class
Top
Methods
  NameDescription
Public methodStatic memberDisplayCollision
Float function to update the UI across all players
Private methodOnCollisionEnterTest
Delegate function for OnCollisionEnter
Private methodOnCollisionExitTest
Delegate function for OnCollisionExt
Private methodOnTriggerEnterTest
Delegate function for OnTriggerEnter
Private methodOnTriggerExitTest
Delegate function for OnTriggerExit
Private methodOnTriggerStayTest
Delegate function for OnTriggerStay
Private methodStart
Top
Fields
See Also