void Start() { SS = GameObject.Find("slingshot").GetComponent <PlayerShootData>(); defaulPos = new Vector3(-6.25f, -0.25f, 0); transform.position = defaulPos; transform.rotation = Quaternion.identity; }
public PlayerShootController(PlayerShootData shootData, BulletBehaviour.Factory bulletFactory) { _shootData = shootData; _bulletFactory = bulletFactory; }