A* Pathfinding Project  4.1.12
The A* Pathfinding Project for Unity 3D
OptimizationHandler Class Reference

Helper for enabling or disabling compiler directives. More...

Detailed Description

Helper for enabling or disabling compiler directives.

Used only in the editor.

A* Pro Feature:
This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited
The Pro version can be bought here

Classes

class  DefineDefinition
 

Static Public Member Functions

static void ApplyDefines (List< DefineDefinition > defines)
 
static void DisableDefine (string name)
 
static void EnableDefine (string name)
 
static List< DefineDefinitionFindDefines ()
 
static void IsDefineEnabled (string name, out bool enabled, out bool consistent)
 

Static Private Member Functions

static Dictionary< BuildTargetGroup, List< string > > GetDefineSymbols ()
 
static string GetPackageRootDirectory ()
 
static void SetDefineSymbols (Dictionary< BuildTargetGroup, List< string > > symbols)
 

Static Private Attributes

static readonly BuildTargetGroup [] deprecatedBuildTargets
 Various build targets that Unity have deprecated. More...
 

Member Function Documentation

◆ ApplyDefines()

static void ApplyDefines ( List< DefineDefinition defines)
static

◆ DisableDefine()

static void DisableDefine ( string  name)
static

◆ EnableDefine()

static void EnableDefine ( string  name)
static

◆ FindDefines()

static List<DefineDefinition> FindDefines ( )
static

◆ GetDefineSymbols()

static Dictionary<BuildTargetGroup, List<string> > GetDefineSymbols ( )
staticprivate

◆ GetPackageRootDirectory()

static string GetPackageRootDirectory ( )
staticprivate

◆ IsDefineEnabled()

static void IsDefineEnabled ( string  name,
out bool  enabled,
out bool  consistent 
)
static

◆ SetDefineSymbols()

static void SetDefineSymbols ( Dictionary< BuildTargetGroup, List< string > >  symbols)
staticprivate

Member Data Documentation

◆ deprecatedBuildTargets

readonly BuildTargetGroup [] deprecatedBuildTargets
staticprivate
Initial value:
= new BuildTargetGroup[] {
BuildTargetGroup.Unknown,
}

Various build targets that Unity have deprecated.

There is apparently no way to figute out which these are without hard coding them.


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