//----------------------------------
 public float GetHoleCenterRadius()
 {
     if (!isColorRefreshed)
     {
         targetColor      = ColorStyleManager.GetRandomObstacleColor();
         isColorRefreshed = true;
     }
     return(holeCenterRadius);
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     ColorStyleManager.ParseRawHTML(Resources.Load("colorsRaw") as TextAsset);
 }