public void UpdateGunDisplay(PastaGun gun) { gun_pos_text.GetComponent <TextMeshProUGUI> ().text = "Deg: " + gun.angle.ToString(); gun_angle_text.GetComponent <TextMeshProUGUI> ().text = " X: " + gun.transform.position.x.ToString() + " Y: " + gun.transform.position.y.ToString(); }
private void Awake() { Instance = this; //AnimatorBehaviour.GetAnimator(PlayerController._instance.animator); }