private void Start() { LuaUtil.ToLua("Player"); LuaUtil.CallFunc("Player.Start", gameObject, Speed, JumpForce, Club); }
void Awake() { LuaUtil.ToLua("Main"); LuaUtil.CallFunc("Init", Win, Lose, GroundType1, GroundType2, GroundType3, Flag, MapLength, BarMask); }
private void Start() { LuaUtil.ToLua("Env"); LuaUtil.CallFunc("Env.InitEnv", gameObject); LuaUtil.CallFunc("Env.GenStage"); }
void Start() { LuaUtil.ToLua("Club"); LuaUtil.CallFunc("Club.Start", gameObject); }