Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     Shoot        = BaseShot;
     currentBow   = GameManager.Instance.player.bow;
     sr           = GetComponent <SpriteRenderer>();
     currentArrow = GetComponentInChildren <Arrow>();
     arrow.GetComponent <SpriteRenderer>().sprite = currentArrow.arrowProperties.sprite;
 }
Exemple #2
0
 public void SetBow(BowProperties newBow)
 {
     currentBow = newBow;
 }