private void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
    private void Start()
    {
        partition = Scr_Partition.instance;

        aInputImage = transform.GetChild(1).GetComponent <Image>();
        bInputImage = transform.GetChild(2).GetComponent <Image>();
        xInputImage = transform.GetChild(3).GetComponent <Image>();
        yInputImage = transform.GetChild(4).GetComponent <Image>();

        DisplayPossibleInput();
    }
예제 #3
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;
    }