//initialization public void Start() { m_inp = Managers.GetInstance().GetInputManager(); m_cmanager = Managers.GetInstance().GetCommandManager(); m_bulletPool = Managers.GetInstance().GetBulletPoolManager().GetBulletPool(20, Managers.GetInstance().GetGameProperties().playerBulletPrefab); m_moveTimer = m_cmanager.GetTimer(); m_isAlive = true; m_explosion = transform.GetChild(0).gameObject; m_sprite = GetComponent<SpriteRenderer>(); m_deathCounter = 0; m_stillDead = false; }