private Vector3 outOfScene = new Vector3(100, 100, 100); //Vector 3 that is outside of the scene. // Start is called before the first frame update void Start() { gameOver = GameObject.Find("Enchantment").GetComponent <RotateCircles>(); //Conects scripts gameOver2 = GameObject.Find("Enchantment2").GetComponent <RotateCircles>(); //Conects scripts }
// Start is called before the first frame update void Start() { toScene = GameObject.Find("Teleporter").GetComponent <ToScene>(); //Connects scripts gameOver = GameObject.Find("Enchantment").GetComponent <RotateCircles>(); //Connects scripts }