Exemple #1
0
 private void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
Exemple #2
0
    private void Start()
    {
        #region INSTANCES ACQUIREMENT
        conductor           = Scr_Conductor.instance;
        partition           = Scr_Partition.instance;
        propsOnBeat         = Scr_PropsOnBeat.instance;
        possibleInputUI     = Scr_PossibleInputUI.instance;
        dummyHealthManager  = Scr_DummyHealthManager.instance;
        chainInputUI        = Scr_ChainInputUI.instance;
        equipement          = Scr_Equipement.instance;
        melodySpriteManager = Scr_MelodySpriteManager.instance;
        #endregion

        chain     = new List <int>();
        activeDmg = baseDamage;
    }