-
#if UNITY_EDITORusing UnityEditor;#endifnamespace AC{
-
#if UNITY_EDITORusing UnityEditor;#endif
-
#if UNITY_EDITORusing UnityEditor;#endif
-
-
-
-
-
-
-
#if ACTIVATE_HACKS // Skip adding further menu overhead, if we choose to optimize current frame. if (MyLevelManager.Inst.HackyHackOptimizeFrame()){ return; } #endif
-
-
-
-
Weird, my copy-pasting missed a curly bracket. Sorry. I hate copy pasting, lol. Anyway add a } at the end. (The one in the wikia does have two closing curly brackets after the #endif like it should, s
-
-
override public void ShowGUI(){ // Actual code here}#endif
-
and that fixed it (removing the "#" before "if" and removing "#endif"). Tested this through the Steam Client and it works (Image)
-
using Steamworks;#if (SteamManager.Initialized) {SteamUserStats.SetAchievement("ACH_ID");SteamUserStats.StoreStats();}#endif
-
-
void Start () {#if UNITY_EDITOR clicker_countdown = ClickDelay; move_cursor_countdown = MoveCursorDelay; game_window_size = UnityEditor.Handles.GetMainGameViewSize();