コード例 #1
0
 static int StartBorn(IntPtr L)
 {
     LuaScriptMgr.CheckArgsCount(L, 1);
     EntityComponent.HorseStandBehaviour obj = (EntityComponent.HorseStandBehaviour)LuaScriptMgr.GetUnityObjectSelf(L, 1, "EntityComponent.HorseStandBehaviour");
     obj.StartBorn();
     return(0);
 }
コード例 #2
0
    static int Init(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 5);
        EntityComponent.HorseStandBehaviour obj = (EntityComponent.HorseStandBehaviour)LuaScriptMgr.GetUnityObjectSelf(L, 1, "EntityComponent.HorseStandBehaviour");
        int        arg0 = (int)LuaScriptMgr.GetNumber(L, 2);
        int        arg1 = (int)LuaScriptMgr.GetNumber(L, 3);
        string     arg2 = LuaScriptMgr.GetLuaString(L, 4);
        GameObject arg3 = (GameObject)LuaScriptMgr.GetUnityObject(L, 5, typeof(GameObject));

        obj.Init(arg0, arg1, arg2, arg3);
        return(0);
    }