void Awake() { tank_hp_slider = GameObject.Find("Tank_HP").GetComponent <Slider>(); player = PlayerTank.GetComponent <Tank>(); max_hp = player.GetMaxHP(); GameObject.Find("Tank_Aim_Point").GetComponent <RawImage>().enabled = false; tank_shell_info = GameObject.Find("Tank_Shell_Info").GetComponent <Slider>(); shell_n = GameObject.Find("Shell_Amount").GetComponent <Text>(); tank_shell_force = GameObject.Find("Tank_Shell_Force").GetComponent <Slider>(); rotation_line = GameObject.Find("Line").GetComponent <RectTransform>(); }