static int StartNpcTalk(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); EntityComponent.NpcStandBehaviour obj = (EntityComponent.NpcStandBehaviour)LuaScriptMgr.GetUnityObjectSelf(L, 1, "EntityComponent.NpcStandBehaviour"); obj.StartNpcTalk(); return(0); }
static int Init(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); EntityComponent.NpcStandBehaviour obj = (EntityComponent.NpcStandBehaviour)LuaScriptMgr.GetUnityObjectSelf(L, 1, "EntityComponent.NpcStandBehaviour"); string arg0 = LuaScriptMgr.GetLuaString(L, 2); obj.Init(arg0); return(0); }