void Awake() { var count = FindObjectsOfType<GuiSystem> ().Length; if (count > 1) { DestroyImmediate (gameObject); return; } _instance = this; _lastScreenWidth = -1; _lastScreenHeight = -1; VirtualToRealScaleFactor = 1f; FixScaleFactors (); }