/// <summary> /// Awake is called when the script instance is being loaded. /// </summary> void Awake() { if (!Debug.isDebugBuild) { DestroyImmediate(this); } TPSCounter = new FPSCounter(); }