C# Class LostPolygon.DynamicWaterSystem.EditorExtensions.TagManager

Mostrar archivo Open project: caffeinatedguy/Limbs

Public Methods

Method Description
AddLayer ( string layerName, LayerSearchDirection searchDirection = LayerSearchDirection.LastToFirst ) : void
AddTag ( string tag ) : void
GetFreeLayer ( LayerSearchDirection searchDirection ) : int
GetLayer ( int layerNumber ) : string
IsLayerExists ( string layerName ) : bool
IsTagExists ( string tag ) : bool
SetLayer ( int layerNumber, string layerName ) : bool

Private Methods

Method Description
GetLayerProperty ( int layerNumber ) : UnityEditor.SerializedProperty
SaveManager ( ) : void
TagManager ( ) : System
UpdateManager ( ) : void

Method Details

AddLayer() public static method

public static AddLayer ( string layerName, LayerSearchDirection searchDirection = LayerSearchDirection.LastToFirst ) : void
layerName string
searchDirection LayerSearchDirection
return void

AddTag() public static method

public static AddTag ( string tag ) : void
tag string
return void

GetFreeLayer() public static method

public static GetFreeLayer ( LayerSearchDirection searchDirection ) : int
searchDirection LayerSearchDirection
return int

GetLayer() public static method

public static GetLayer ( int layerNumber ) : string
layerNumber int
return string

IsLayerExists() public static method

public static IsLayerExists ( string layerName ) : bool
layerName string
return bool

IsTagExists() public static method

public static IsTagExists ( string tag ) : bool
tag string
return bool

SetLayer() public static method

public static SetLayer ( int layerNumber, string layerName ) : bool
layerNumber int
layerName string
return bool