void Update() { if (!done && countToOpenTeleport == GameControl.instance.count) { SetOpened(true); anotherT.SetOpened(true); done = true; } }