예제 #1
0
 private void Awake()
 {
     if (BM == null)
     {
         BM = this;
     }
     else
     {
         Destroy(this.gameObject);
     }
 }
예제 #2
0
    // Start is called before the first frame update
    void Start()
    {
        bandolierMenu = BandolierMenu.BM;
        maxNum        = 6;

        //Carries the loadous for customization
        loadout[0] = loadouts.loadout1;
        loadout[1] = loadouts.loadout2;
        loadout[2] = loadouts.loadout3;
        loadout[3] = loadouts.loadout4;
        loadout[4] = loadouts.loadout5;
        loadout[5] = loadouts.loadout6;
    }