Ejemplo n.º 1
0
 void Start()
 {
     variables         = manager.variables;
     maxSphereLifetime = variables.totalTime / variables.timeBetweenActivation * variables.activeTime * 2f;
     tester            = manager.tester;
     foreach (GameObject go in spheres)
     {
         go.GetComponent <Sphere>().Initialize(this, variables);
     }
     StartCoroutine(GameLoop());
 }
Ejemplo n.º 2
0
 public void Initialize(WhacASphere whacASphere, WhacASphereVariables variables)
 {
     this.whacASphere = whacASphere;
     this.variables   = variables;
 }