static int OnRebound(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); PlayerState_Rebound obj = (PlayerState_Rebound)LuaScriptMgr.GetNetObjectSelf(L, 1, "PlayerState_Rebound"); obj.OnRebound(); return(0); }
public void OnRebound() { PlayerState_Rebound rebound = _owner.m_StateMachine.m_curState as PlayerState_Rebound; if (rebound == null) { return; } rebound.OnRebound(); }