Beispiel #1
0
    void Update()
    {
        foreach (var tbl in tables)
        {
            Lua.CallProcedure(tbl, "rotate", new object[] { (Vector3.one * 0.01f).GetTable(Lua) });

            _scale1.x += 0.001f;
            _scale2.z += 0.001f;
            Lua.CallProcedure(tbl, "scale", new object[] { _scale1.GetTable(Lua), _scale2.GetTable(Lua) });
        }
    }