void OnTriggerStay(Collider col) { if (_mainCollision) { _mainCollision.OnTriggerStay(col); } }
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)); } }