// Start is called before the first frame update
 void Start()
 {
     this.transform.localScale = initialScale;
     ringInstantiateScript     = GameObject.FindWithTag("Game Manager").GetComponent <RingInstantiateScript>();
     gameManagerVariables      = GameObject.FindWithTag("Game Manager").GetComponent <GameManagerVariables>();
     maxSize    = (int)gameManagerVariables.ringMaxSize;
     scaleSpeed = gameManagerVariables.ringSpeed;
 }
Пример #2
0
 void Start()
 {
     phaseText  = GetComponent <Text>();
     ringScript = GameObject.Find("GameManager").GetComponent <RingInstantiateScript>();
 }