예제 #1
0
    void Start()
    {
        bulletRender = transform.Find("Bullet").GetComponent<SpriteRenderer>();
        secondaryShootsUI = GameObject.Find("SecondaryShootsShotGunUI").GetComponent<UIBulletsShotGun>();

        secondaryShootsUI.disableBullet(UIBulletsShotGun.CurrentBullets - 1);

        SoundManager.Instance.PlaySecondaryEffect("shootShotgunBigShot", 0.3f);
        
        MovingShot();
    }
예제 #2
0
 void Awake() => secondaryShootsUI = GameObject.Find("SecondaryShootsShotGunUI").GetComponent <UIBulletsShotGun>();