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