Class EditorTestUtilities
Inheritance
EditorTestUtilities
Syntax
public static class EditorTestUtilities
Fields
Epsilon
Declaration
public const float Epsilon = 0.001F
Field Value
Methods
AddSortingLayerToTagManager(String)
Add a new sorting layer to the TagManager if it's not already there
Declaration
public static bool AddSortingLayerToTagManager(string sortingLayerName)
Parameters
Type |
Name |
Description |
String |
sortingLayerName |
The name of the Sorting Layer to be added
|
Returns
Type |
Description |
Boolean |
If the Sorting Layer to add is already in the TagManager, false is returned, true otherwise
|
RemoveSortingLayerFromTagManager(String)
Declaration
public static void RemoveSortingLayerFromTagManager(string sortingLayerName)
Parameters
Type |
Name |
Description |
String |
sortingLayerName |
|
SortingLayerExists(String)
Declaration
public static bool SortingLayerExists(string sortingLayerName)
Parameters
Type |
Name |
Description |
String |
sortingLayerName |
|
Returns