private void ApplyFixers() { if (TileController.Current == null) { TileController controller = GameObject.FindObjectOfType <TileController>(); TileController.Current = controller; } TileObject[] tos = FindObjectsOfType <TileObject>(); foreach (var to in tos) { Fixer fixer = to.gameObject.GetComponent <Fixer>(); if (fixer != null) { fixer.ApplySavedTransformations(); } } }