|
void | Save () |
| Save the current settings.
|
|
|
static ScriptableObject | GetOrCreate< T > (string name) |
| Creates and saves the new instance or gets the asset.
|
|
static bool | AssetExistsAtPath (string path) |
| Will return true if asset exists at path.
|
|
static Object | GetAssetAtPath (string path) |
| Get an asset at path.
|
|
static GlobalTagHolder | GetAsset (string path) |
| Get asset if they exist.
|
|
static Object | GetAsset (bool returnObject, string path) |
| Get asset if it exists.
|
|
static Object | CreateAsset (Object objectToCreate, string path) |
|
|
List< MT > | GlobalTagList = new List<MT> () |
|
|
void | CreateAsset (string path) |
| Creates an asset version of the current asset.
|
|
|
const string | DataPath = "Assets/3rd/MultiTags/" |
|
◆ AssetExistsAtPath()
static bool GlobalTagHolder.AssetExistsAtPath |
( |
string |
path | ) |
|
|
inlinestatic |
Will return true if asset exists at path.
- Parameters
-
- Returns
◆ CreateAsset()
void GlobalTagHolder.CreateAsset |
( |
string |
path | ) |
|
|
inlineprotected |
Creates an asset version of the current asset.
- Returns
◆ CreateEmptyAsset< T >()
static ScriptableObject GlobalTagHolder.CreateEmptyAsset< T > |
( |
| ) |
|
|
inlinestaticprotected |
Creates an empty settings instance, this is not saved.
- Returns
◆ GetAsset() [1/2]
static Object GlobalTagHolder.GetAsset |
( |
bool |
returnObject, |
|
|
string |
path |
|
) |
| |
|
inlinestatic |
Get asset if it exists.
- Returns
◆ GetAsset() [2/2]
Get asset if they exist.
- Parameters
-
- Returns
◆ GetAssetAtPath()
static Object GlobalTagHolder.GetAssetAtPath |
( |
string |
path | ) |
|
|
inlinestatic |
Get an asset at path.
- Parameters
-
- Returns
◆ GetOrCreate< T >()
static ScriptableObject GlobalTagHolder.GetOrCreate< T > |
( |
string |
name | ) |
|
|
inlinestatic |
Creates and saves the new instance or gets the asset.
- Returns
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Engine/Plugins/MultiTags/Editor/GlobalTagHolder.cs