using System.Collections; using System.Collections.Generic; using UnityEngine; public class luatest : MonoBehaviour { static int aaa = 8; [XLua.LuaCallCSharp] public static void testOne() { aaa++; Debug.Log(aaa + 9); } }