C# Class PrefabDatabase, ThreeDWorld

Inheritance: MonoBehaviour
Mostra file Open project: dicarlolab/ThreeDWorld Class Usage Examples

Public Properties

Property Type Description
prefabs List

Public Methods

Method Description
GarbageCollect ( ) : void
GetSceneScale ( PrefabInfo prefab ) : float
ListSelectedPrefabs ( ) : string>.Dictionary
LoadAssetFromBundle ( string fileName ) : GameObject
LoadAssetFromBundleWWW ( string fileName ) : GameObject
LoadAssetFromBundleWWW_cached_self ( string fileName, string cachedAssetBundle ) : IEnumerator
SavePrefabInformation ( GeneratablePrefab, prefab, string assetPath, bool shouldRecomputePrefabInformation, bool replaceOld = true ) : void
SavePrefabInformation_lazily ( string assetPath ) : void
SetPrefabScaleAll ( ) : void
SetPrefabScaleSingle ( ) : void
SetupBundles ( ) : void
SetupBundles_lazily ( ) : void
SetupPrefabs ( bool shouldRecompute ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
Awake ( ) : void
BuildAllAssetBundlesMerged ( ) : void
BuildAllAssetBundlesSeparate ( ) : void
CompileAssetBundles ( ) : void
CompileAssetBundles_lazily ( ) : void
CompileListOfProceduralComponents ( bool shouldRecomputePrefabInformation ) : void
CreatePrefabFromModel ( ) : void
GetScaleFromAbsolute ( GameObject obj, Vector3 absolute ) : float
Init ( ) : void
MakeSimplePrefabObj ( GameObject obj, string subPath ) : void
SetupBundlesMenu ( ) : void
SetupBundlesMenu_lazily ( ) : void
SetupPrefabsFull ( ) : void
SetupPrefabsQuick ( ) : void

Method Details

GarbageCollect() public static method

public static GarbageCollect ( ) : void
return void

GetSceneScale() public method

public GetSceneScale ( PrefabInfo prefab ) : float
prefab PrefabInfo
return float

ListSelectedPrefabs() public static method

public static ListSelectedPrefabs ( ) : string>.Dictionary
return string>.Dictionary

LoadAssetFromBundle() public static method

public static LoadAssetFromBundle ( string fileName ) : GameObject
fileName string
return GameObject

LoadAssetFromBundleWWW() public static method

public static LoadAssetFromBundleWWW ( string fileName ) : GameObject
fileName string
return GameObject

LoadAssetFromBundleWWW_cached_self() public static method

public static LoadAssetFromBundleWWW_cached_self ( string fileName, string cachedAssetBundle ) : IEnumerator
fileName string
cachedAssetBundle string
return IEnumerator

SavePrefabInformation() public method

public SavePrefabInformation ( GeneratablePrefab, prefab, string assetPath, bool shouldRecomputePrefabInformation, bool replaceOld = true ) : void
prefab GeneratablePrefab,
assetPath string
shouldRecomputePrefabInformation bool
replaceOld bool
return void

SavePrefabInformation_lazily() public method

public SavePrefabInformation_lazily ( string assetPath ) : void
assetPath string
return void

SetPrefabScaleAll() public method

public SetPrefabScaleAll ( ) : void
return void

SetPrefabScaleSingle() public method

public SetPrefabScaleSingle ( ) : void
return void

SetupBundles() public static method

public static SetupBundles ( ) : void
return void

SetupBundles_lazily() public static method

public static SetupBundles_lazily ( ) : void
return void

SetupPrefabs() public static method

public static SetupPrefabs ( bool shouldRecompute ) : void
shouldRecompute bool
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

prefabs public_oe property

public List prefabs
return List