Ejemplo n.º 1
0
 void Awake()
 {
     RestrictionMap.getDifficultyRatios();
     redRatio           = RestrictionMap.redRatio;
     blueRatio          = RestrictionMap.blueRatio;
     cyanRatio          = RestrictionMap.cyanRatio;
     greenRatio         = RestrictionMap.greenRatio;
     yellowRatio        = RestrictionMap.yellowRatio;
     mostDifficultyArea = RestrictionMap.mostAvailableArea;
 }
Ejemplo n.º 2
0
 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);
 }