예제 #1
0
    private void Start()
    {
        for (int i = 0; i < Weapons.Length; i++)
        {
            Weapons[i].BulletsInClip = Weapons[i].ClipSize;
            Instantiate(Weapons[i].WeaponSprite, transform.position, transform.rotation);
        }

        weaponSwitch.SwitchWeapon(ActiveWeaponIndex);
    }