public void setBtnEvent(int move) { if (plc == null) { plc = Game_Manager.instance.player.GetComponent <Player_controller>(); } plc.set_mobile_move(move); }