OnTriggerStay() public method

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