C# Class Borodar.RainbowFolders.Editor.Settings.RainbowFoldersSettings

Inheritance: UnityEngine.ScriptableObject
Afficher le fichier Open project: PhannGor/unity3d-rainbow-folders Class Usage Examples

Méthodes publiques

Свойство Type Description
Folders List

Private Properties

Свойство Type Description
IsNullOrEmpty bool

Méthodes publiques

Méthode Description
AddFolder ( RainbowFolder value ) : void
ChangeFolderIcons ( RainbowFolder value ) : void
ChangeFolderIconsByPath ( string path, FolderIconPair icons ) : void
GetFolder ( RainbowFolder match ) : RainbowFolder

Searches for a folder config that has the same type and key values. Returns the first occurrence within the settings, if found; null otherwise.

GetFolderByPath ( string folderPath ) : RainbowFolder

Searches for a folder config that should be applied for the specified path (regardless of the key type). Returns the first occurrence within the settings, if found; null otherwise.

GetFolderIcon ( string folderPath, bool small = true ) : Texture2D
RemoveAll ( RainbowFolder match ) : void
RemoveAllByPath ( string path ) : void
UpdateFolder ( RainbowFolder match, RainbowFolder value ) : void

Searches for a folder config that has the same type and key, and updates its other fields with provided value, if found; creates new folder config otherwise.

Private Methods

Méthode Description
IsNullOrEmpty ( ICollection collection ) : bool

Method Details

AddFolder() public méthode

public AddFolder ( RainbowFolder value ) : void
value RainbowFolder
Résultat void

ChangeFolderIcons() public méthode

public ChangeFolderIcons ( RainbowFolder value ) : void
value RainbowFolder
Résultat void

ChangeFolderIconsByPath() public méthode

public ChangeFolderIconsByPath ( string path, FolderIconPair icons ) : void
path string
icons FolderIconPair
Résultat void

GetFolder() public méthode

Searches for a folder config that has the same type and key values. Returns the first occurrence within the settings, if found; null otherwise.
public GetFolder ( RainbowFolder match ) : RainbowFolder
match RainbowFolder
Résultat RainbowFolder

GetFolderByPath() public méthode

Searches for a folder config that should be applied for the specified path (regardless of the key type). Returns the first occurrence within the settings, if found; null otherwise.
public GetFolderByPath ( string folderPath ) : RainbowFolder
folderPath string
Résultat RainbowFolder

GetFolderIcon() public méthode

public GetFolderIcon ( string folderPath, bool small = true ) : Texture2D
folderPath string
small bool
Résultat UnityEngine.Texture2D

RemoveAll() public méthode

public RemoveAll ( RainbowFolder match ) : void
match RainbowFolder
Résultat void

RemoveAllByPath() public méthode

public RemoveAllByPath ( string path ) : void
path string
Résultat void

UpdateFolder() public méthode

Searches for a folder config that has the same type and key, and updates its other fields with provided value, if found; creates new folder config otherwise.
public UpdateFolder ( RainbowFolder match, RainbowFolder value ) : void
match RainbowFolder
value RainbowFolder
Résultat void

Property Details

Folders public_oe property

public List Folders
Résultat List