public void jump_fun() { if (plc == null) { plc = Game_Manager.instance.player.GetComponent <Player_controller>(); } plc.jump(); }