static RegisterDebugDefines() { if (EditorPrefs.GetBool("DeveloperMode", false)) { ScriptingSymbolManager.AddScriptingDefine("DEVELOPER_MODE"); } else { ScriptingSymbolManager.RemoveScriptingDefine("DEVELOPER_MODE"); } var progridsType = ProGridsInterface.GetProGridsType(); if (progridsType != null) { ScriptingSymbolManager.AddScriptingDefine("PROGRIDS_ENABLED"); } else { ScriptingSymbolManager.RemoveScriptingDefine("PROGRIDS_ENABLED"); } }
public static void UnsubscribeToolbarEvent() { Assert.IsNotNull(ProGridsInterface.GetProGridsType().GetMethod("RemoveToolbarEventSubscriber", k_BindingFlagsAll)); }
public static void OnHandleMove() { Assert.IsNotNull(ProGridsInterface.GetProGridsType().GetMethod("OnHandleMove", k_BindingFlagsAll)); }
public static void UnsubscribePushToGridEvent() { Assert.IsNotNull(ProGridsInterface.GetProGridsType().GetMethod("RemovePushToGridListener", k_BindingFlagsAll)); }
public static void GetPivot() { Assert.IsNotNull(ProGridsInterface.GetProGridsType().GetMethod("GetPivot", k_BindingFlagsAll)); }
public static void SnapValue() { Assert.IsNotNull(ProGridsInterface.GetProGridsType().GetMethod("SnapValue", k_BindingFlagsAll)); }
public static void UseAxisConstraints() { Assert.IsNotNull(ProGridsInterface.GetProGridsType().GetMethod("UseAxisConstraints", k_BindingFlagsAll)); }
public static void SceneToolbarIsExtended() { Assert.IsNotNull(ProGridsInterface.GetProGridsType().GetMethod("SceneToolbarIsExtended", k_BindingFlagsAll)); }
public static void ProGridsActive() { Assert.IsNotNull(ProGridsInterface.GetProGridsType().GetMethod("SceneToolbarActive", k_BindingFlagsAll)); }
public static void GetProGridsType() { Assert.IsNotNull(ProGridsInterface.GetProGridsType()); }