My Project
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Static Protected Attributes | Properties | List of all members
GlobalTagHolder Class Reference
Inheritance diagram for GlobalTagHolder:

Public Member Functions

void Save ()
 Save the current settings.
 

Static Public Member Functions

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)
 

Public Attributes

List< MTGlobalTagList = new List<MT> ()
 

Protected Member Functions

void CreateAsset (string path)
 Creates an asset version of the current asset.
 

Static Protected Member Functions

static ScriptableObject CreateEmptyAsset< T > ()
 Creates an empty settings instance, this is not saved.
 

Static Protected Attributes

const string DataPath = "Assets/3rd/MultiTags/"
 

Properties

static GlobalTagHolder TagHolder [get]
 
static string Name [get]
 

Member Function Documentation

◆ AssetExistsAtPath()

static bool GlobalTagHolder.AssetExistsAtPath ( string  path)
inlinestatic

Will return true if asset exists at path.

Parameters
path
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]

static GlobalTagHolder GlobalTagHolder.GetAsset ( string  path)
inlinestatic

Get asset if they exist.

Parameters
name
Returns

◆ GetAssetAtPath()

static Object GlobalTagHolder.GetAssetAtPath ( string  path)
inlinestatic

Get an asset at path.

Parameters
path
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: