A* Pathfinding Project  4.0.3
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
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 string GetAstarPath ()
 
static Dictionary
< BuildTargetGroup, List
< string > > 
GetDefineSymbols ()
 
static void SetDefineSymbols (Dictionary< BuildTargetGroup, List< string > > symbols)
 

Static Private Attributes

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

Member Function Documentation

static void ApplyDefines ( List< DefineDefinition defines)
static
static void DisableDefine ( string  name)
static
static void EnableDefine ( string  name)
static
static List<DefineDefinition> FindDefines ( )
static
static string GetAstarPath ( )
staticprivate
static Dictionary<BuildTargetGroup, List<string> > GetDefineSymbols ( )
staticprivate
static void IsDefineEnabled ( string  name,
out bool  enabled,
out bool  consistent 
)
static
static void SetDefineSymbols ( Dictionary< BuildTargetGroup, List< string > >  symbols)
staticprivate

Member Data Documentation

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: