void Start() { EM = EffectsManager.instance; PM = PlayerManager.instance; aux = AuxManager.instance; player = aux.GetPlayer(); bulletPool = aux.GetGroundBulletPool(); }
// Start is called before the first frame update void Start() { rb = GetComponent <Rigidbody2D>(); EM = EffectsManager.instance; aux = AuxManager.instance; bulletPool = aux.GetGroundBulletPool(); player = aux.GetPlayer(); shooter = transform.GetChild(0); shootPoint = shooter.GetChild(0); }