// Start is called before the first frame update void Start() { shootFactory = gameObject.GetComponent <ShootFactory>(); playerController = gameObject.GetComponent <PlayerController>(); }
void Start() { shootFactory = gameObject.GetComponent <ShootFactory>(); enemyController = gameObject.GetComponent <EnemyController>(); player = FindObjectOfType <Player>(); }
void Start() { shootFactory = gameObject.GetComponent <ShootFactory>(); }