protected override void Update() { if (!Application.isPlaying) { if (renderer.sharedMaterial != MyAtlasController.atlasMaterial) { renderer.sharedMaterial = MyAtlasController.atlasMaterial; } atlas = "TutorialAtlas"; texture = tx.ToString(); base.Update(); } }