ThrowApple()

Found in:

public void ThrowApple(){
      apple = Instantiate(applePrefab, new Vector3(gameObject.transform.position.x,gameObject.transform.position.y,0), Quaternion.identity, gameObject.transform);
      apple.transform.position = new Vector3(ShootFromHere.transform.position.x,ShootFromHere.transform.position.y,0);
      apple.touchPos = hero.transform.position;
    }


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *