BOLTStack.LuaAction.Create C# (CSharp) Method

Create() private method

private Create ( System.Action caller ) : System.Action
caller System.Action
return System.Action
        private Action Create(Action caller)
        {
            return () =>
            {
                BeginCall();
                caller();
                EndCall();
            };
        }

Same methods

LuaAction::Create ( IntPtr luaState, System.Action caller ) : System.Action

Usage Example

Esempio n. 1
0
 public static Action <T1, T2> ToAction <T1, T2>(this IntPtr L, Action <T1, T2> caller)
 {
     return(LuaAction <T1, T2> .Create(L, caller));
 }
All Usage Examples Of BOLTStack.LuaAction::Create