Beispiel #1
0
    private void AllChildChildAndAction(DelegateSelectMethod _selectMethod, string _expName)
    {
        LoadListG = SaveLoadDataMenu.LoadS(ScenesInformation.CurrentLevel);

        foreach (Transform child in transform)
        {
            if (_expName == child.name)
            {
                foreach (Transform childChild in child)
                {
                    _selectMethod(childChild);
                }
            }
        }
    }
Beispiel #2
0
    //calculatePreComplete
    private bool CalculatePreComplete()
    {
        LoadListPreG = SaveLoadDataMenu.LoadS(ScenesInformation.CurrentLevel - 1);
        int count = 0;

        for (int i = 0; i < LoadListPreG.Length; i++)
        {
            if (LoadListPreG[i])
            {
                count++;
            }
        }
        if (count > 12)
        {
            return(true);
        }
        return(false);
    }
Beispiel #3
0
 private void UpdateLevelCompleteResult()
 {
     SaveLoadDataMenu.Calculate(gNumber, pNumber, true);
 }