Esempio n. 1
0
 static int StartNpcTalk(IntPtr L)
 {
     LuaScriptMgr.CheckArgsCount(L, 1);
     EntityComponent.NpcStandBehaviour obj = (EntityComponent.NpcStandBehaviour)LuaScriptMgr.GetUnityObjectSelf(L, 1, "EntityComponent.NpcStandBehaviour");
     obj.StartNpcTalk();
     return(0);
 }
Esempio n. 2
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);
    }