|
const string | DefaultDictionaryPrefabLocation = "Assets/PlatformerPro/Prefabs/DefaultPrefabDictionary.prefab" |
| The default dictionary prefab location. If editor can't find a Dictionary one will be created from this prefab. More...
|
|
|
void | Init () |
| Create a dictionary for fast access. More...
|
|
◆ AddNewAsset()
string PlatformerPro.PrefabDictionary.AddNewAsset |
( |
GameObject |
asset | ) |
|
Add asset to dictionary.
- Returns
- The new asset.
- Parameters
-
◆ ContainsName()
bool PlatformerPro.PrefabDictionary.ContainsName |
( |
string |
name | ) |
|
◆ FindOrCreateInstance()
◆ GetAssetByName()
GameObject PlatformerPro.PrefabDictionary.GetAssetByName |
( |
string |
name | ) |
|
Gets the asset for the given name.
- Returns
- The asset or null if name == NONE or the asset wasn't found.
- Parameters
-
◆ GetNames()
string [] PlatformerPro.PrefabDictionary.GetNames |
( |
| ) |
|
◆ Init()
void PlatformerPro.PrefabDictionary.Init |
( |
| ) |
|
|
protected |
Create a dictionary for fast access.
◆ NameOfAsset()
string PlatformerPro.PrefabDictionary.NameOfAsset |
( |
GameObject |
asset | ) |
|
Get name for specific asset.
- Returns
- The name of the asset.
- Parameters
-
◆ DefaultDictionaryPrefabLocation
const string PlatformerPro.PrefabDictionary.DefaultDictionaryPrefabLocation = "Assets/PlatformerPro/Prefabs/DefaultPrefabDictionary.prefab" |
|
static |
The default dictionary prefab location. If editor can't find a Dictionary one will be created from this prefab.
◆ items
List<GameObject> PlatformerPro.PrefabDictionary.items |
◆ Instance
Gets reference to the Dictionary in the scene.
The instance.
The documentation for this class was generated from the following file: