List of Tag stored in a ScriptableObject file in the Asset folder.
Properties | |
List< Tag > | TagsList [get, set] |
The Tag list. More... | |
static string | AssetFilePath [get] |
The path where the Tags file is saved. More... | |
static Tags | Instance [get] |
Get the Tags instance. More... | |
Static Public Attributes | |
const string | C_DEFAULT_ASSET_FILE_PATH = "Assets/Plugins/PropertyInterface/Resources" |
The default Path where the Tags file will be saved. More... | |
const string | C_DEFAULT_TAGS_FILE_NAME = "Tags.asset" |
The default file name to save the Tags file. More... | |
Public Member Functions | |
delegate void | OnChangedTagListDelegate () |
delegate void | OnAfterUndoRedoDelegate () |
delegate void | OnChangedTagDelegate (Tag tag) |
void | OnEnable () |
void | OnDisable () |
void | OnChangedTagList () |
Handler triggered when Tags has been changed. More... | |
void | OnChangedTag (Tag tag) |
Handler triggered when a Tag is delete to the Tag list. More... | |
void | OnAfterUndoRedo () |
Handler triggered when undo is performed. More... | |
Static Public Member Functions | |
static void | OnEditorLoaded () |
Force Tags load when Editor is loading. More... | |
static string | GetGUID () |
Get the GUID of the asset file if it exist. More... | |
static Tag | GetTagByID (TagID tagID) |
Get the GUID of the asset file if it exist. More... | |
static void | SaveAsset () |
Save the modifications on the .asset file. More... | |
Events | |
OnChangedTagListDelegate | OnChangedTagListCallBack |
OnChangedTagDelegate | OnChangedTagCallBack |
OnAfterUndoRedoDelegate | OnAfterUndoRedoCallBack |
|
staticget |
The path where the Tags file is saved.
|
staticget |
|
static |
Get the GUID of the asset file if it exist.
Get the GUID of the asset file if it exist.
void Nectunia.PropertyInterface.Tags.OnAfterUndoRedo | ( | ) |
Handler triggered when undo is performed.
delegate void Nectunia.PropertyInterface.Tags.OnAfterUndoRedoDelegate | ( | ) |
void Nectunia.PropertyInterface.Tags.OnChangedTag | ( | Tag | tag | ) |
delegate void Nectunia.PropertyInterface.Tags.OnChangedTagDelegate | ( | Tag | tag | ) |
void Nectunia.PropertyInterface.Tags.OnChangedTagList | ( | ) |
Handler triggered when Tags has been changed.
delegate void Nectunia.PropertyInterface.Tags.OnChangedTagListDelegate | ( | ) |
void Nectunia.PropertyInterface.Tags.OnDisable | ( | ) |
|
static |
Force Tags load when Editor is loading.
void Nectunia.PropertyInterface.Tags.OnEnable | ( | ) |
|
static |
Save the modifications on the .asset file.
OnAfterUndoRedoDelegate Nectunia.PropertyInterface.Tags.OnAfterUndoRedoCallBack |
OnChangedTagDelegate Nectunia.PropertyInterface.Tags.OnChangedTagCallBack |
OnChangedTagListDelegate Nectunia.PropertyInterface.Tags.OnChangedTagListCallBack |
|
static |
The default Path where the Tags file will be saved.
|
static |
The default file name to save the Tags file.