OnTriggerExit() public method

public OnTriggerExit ( Collider col ) : void
col Collider
return void
Example #1
0
 void OnTriggerExit(Collider col)
 {
     if (_mainCollision)
     {
         _mainCollision.OnTriggerExit(col);
     }
 }
Example #2
0
 static public int OnTriggerExit(IntPtr l)
 {
     try {
         LuaCollisionTriggerEvent self = (LuaCollisionTriggerEvent)checkSelf(l);
         UnityEngine.Collider     a1;
         checkType(l, 2, out a1);
         self.OnTriggerExit(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }