PixelCrushers.MoreEditorUtility Class Reference

Static Public Member Functions

static string GetScriptingDefineSymbolsForGroup (BuildTargetGroup group)
 
static void SetScriptingDefineSymbolsForGroup (BuildTargetGroup group, string defines)
 
static bool DoesScriptingDefineSymbolExist (string symbol)
 Checks if a symbol exists in the project's Scripting Define Symbols for the current build target.
 
static HashSet< BuildTargetGroup > GetInstalledBuildTargetGroups ()
 
static void TryAddScriptingDefineSymbols (string symbol, bool touchFiles=false)
 Try to add a symbol to the project's Scripting Define Symbols for all build targets.
 
static void TryRemoveScriptingDefineSymbols (string symbol)
 Try to remove a symbol from the project's Scripting Define Symbols for all build targets.
 
static void ToggleScriptingDefineSymbol (string define, bool value, bool touchFiles=false)
 Add or remove a scripting define symbol.
 
static void RecompileScripts ()
 Triggers a script recompile.
 
static void TouchScriptsWithScriptingSymbol (string symbol)
 The only reliable way to force a recompile and get the editor to recognize MonoBehaviour scripts and wrappers in Plugins is to actually change those files.
 
static void AddTMPPRESENT ()
 
static void AddUSESTM ()
 
static void AddUSENEWINPUT ()
 
static void AddUSENAVMESH ()
 

Member Function Documentation

◆ AddTMPPRESENT()

static void PixelCrushers.MoreEditorUtility.AddTMPPRESENT ( )
inlinestatic

◆ AddUSENAVMESH()

static void PixelCrushers.MoreEditorUtility.AddUSENAVMESH ( )
inlinestatic

◆ AddUSENEWINPUT()

static void PixelCrushers.MoreEditorUtility.AddUSENEWINPUT ( )
inlinestatic

◆ AddUSESTM()

static void PixelCrushers.MoreEditorUtility.AddUSESTM ( )
inlinestatic

◆ DoesScriptingDefineSymbolExist()

static bool PixelCrushers.MoreEditorUtility.DoesScriptingDefineSymbolExist ( string  symbol)
inlinestatic

Checks if a symbol exists in the project's Scripting Define Symbols for the current build target.

◆ GetInstalledBuildTargetGroups()

static HashSet< BuildTargetGroup > PixelCrushers.MoreEditorUtility.GetInstalledBuildTargetGroups ( )
inlinestatic

◆ GetScriptingDefineSymbolsForGroup()

static string PixelCrushers.MoreEditorUtility.GetScriptingDefineSymbolsForGroup ( BuildTargetGroup  group)
inlinestatic

◆ RecompileScripts()

static void PixelCrushers.MoreEditorUtility.RecompileScripts ( )
inlinestatic

Triggers a script recompile.

◆ SetScriptingDefineSymbolsForGroup()

static void PixelCrushers.MoreEditorUtility.SetScriptingDefineSymbolsForGroup ( BuildTargetGroup  group,
string  defines 
)
inlinestatic

◆ ToggleScriptingDefineSymbol()

static void PixelCrushers.MoreEditorUtility.ToggleScriptingDefineSymbol ( string  define,
bool  value,
bool  touchFiles = false 
)
inlinestatic

Add or remove a scripting define symbol.

◆ TouchScriptsWithScriptingSymbol()

static void PixelCrushers.MoreEditorUtility.TouchScriptsWithScriptingSymbol ( string  symbol)
inlinestatic

The only reliable way to force a recompile and get the editor to recognize MonoBehaviour scripts and wrappers in Plugins is to actually change those files.

:/

Parameters
symbolTouch files that cehck this scripting symbol.

◆ TryAddScriptingDefineSymbols()

static void PixelCrushers.MoreEditorUtility.TryAddScriptingDefineSymbols ( string  symbol,
bool  touchFiles = false 
)
inlinestatic

Try to add a symbol to the project's Scripting Define Symbols for all build targets.

◆ TryRemoveScriptingDefineSymbols()

static void PixelCrushers.MoreEditorUtility.TryRemoveScriptingDefineSymbols ( string  symbol)
inlinestatic

Try to remove a symbol from the project's Scripting Define Symbols for all build targets.


The documentation for this class was generated from the following file: