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); } } } }
//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); }
private void UpdateLevelCompleteResult() { SaveLoadDataMenu.Calculate(gNumber, pNumber, true); }