Uses of Class
net.risingworld.api.assets.PrefabAsset
-
Uses of PrefabAsset in net.risingworld.api.assets
Modifier and TypeMethodDescriptionstatic PrefabAsset
PrefabAsset.loadFromAssetBundle
(AssetBundle bundle, String path) Loads a prefab from an AssetBundle.static PrefabAsset
PrefabAsset.loadFromFile
(String file) Loads a prefab from a file.static PrefabAsset
PrefabAsset.loadFromFile
(String file, ModelImportSettings settings) Loads a prefab from a file.static PrefabAsset
PrefabAsset.loadFromGame
(String path) Loads a prefab from the game assets. -
Uses of PrefabAsset in net.risingworld.api.worldelements
Modifier and TypeMethodDescriptionvoid
Prefab.setPrefab
(PrefabAsset prefab) Assigns a prefab asset to this game object.