void Awake() { RestrictionMap.getDifficultyRatios(); redRatio = RestrictionMap.redRatio; blueRatio = RestrictionMap.blueRatio; cyanRatio = RestrictionMap.cyanRatio; greenRatio = RestrictionMap.greenRatio; yellowRatio = RestrictionMap.yellowRatio; mostDifficultyArea = RestrictionMap.mostAvailableArea; }
void Awake() { if (Instance == null) { Instance = this; } else { Destroy(gameObject); } activePiecesList = new List <Transform>(); activePiecesRenderersList = new List <Renderer>(); activePieceScriptList = new List <PairGamePiece>(); RestrictionMap.getDifficultyRatios(); motionCanvas.SetActive(false); }