-
using UnityEngine; using System.Collections; #if UNITY_EDITOR using UnityEditor; #endif namespace AC { [System.Serializable] public class ActionMouseInputMethod : Actio
-
-
return false; } } #if UNITY_EDITOR override public void ShowGUI () { // Action-specific Inspector GUI code here. The "Condition is met" / &
-
-
@Teshla: Thanks for pointing those out. Unnused namespaces were automatically removed, but it seems the #if lines weren't. It shouldn't affect the optimisation of builds, however.
-
in some places, there are leftovers of empty #if UNITY_EDITOR... that being: tk2DIntegration.cs, VarPreset.cs, ACDebug.cs, GameCamera25D.cs, ActionCheckTemplate.cs
-
#if UNITY_EDITORusing UnityEditor;#endifnamespace AC{
-
-
#if !UNITY_5_0 && (UNITY_5 || UNITY_2017) && (UNITY_STANDALONE || UNITY_ANDROID || UNITY_IOS)
-
#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
-
#if UNITY_5 || UNITY_2017_1_OR_NEWER
-
-
Regarding the layers thing, I can see there are quite a few #if UNITY_5 blocks in the code dealing with this in ACInstaller.cs.