ModToolsUtil Class |
[Missing <summary> documentation for "T:UMod.BuildEngine.ModToolsUtil"]
Namespace: UMod.BuildEngine
public static class ModToolsUtil
The ModToolsUtil type exposes the following members.
Name | Description | |
---|---|---|
CreateMaterialNode | ||
CreateNewMod | ||
CreatePrefabNode | ||
CreateSharedGameAssetInActiveScene |
Create an instance of the shared game asset with the specified guid.
You can also specify a target game object which may be required for assets such as materials or textures.
For prefab shared assets the target object will become the parent object.
| |
GetAllSharedGameAssets |
Get an array of asset guids which represent all available game assets which are available to the modder.
All shared game assets are referenced via unique guids which are relinked when the mod scene is loaded in game.
| |
GetSharedAssetType |
Get the type of a shared game asset with the specified guid.
Game assets can only be types derived from UnityEngine.Object.
| |
GetSharedAssetWithName |
Attempt to get the shared asset information for an asset with the specified name.
| |
HasSharedGameAsset |
Get a value indicating whether a shared game asset with the specified asset guid exists in the mod tools package.
| |
RebuildReferenceCache |
Force the build engine to reimport reference mod assemblies for the active export profile.
| |
ShowToolsWindow |
Show a mod tools editor window.
Tools windows must inherit from EditorWindow.
| |
StartBuild | ||
StartBuildAndRun |
Build a mod with the specified export settings and launch the mod in game when finished.
The active mod export profile of the specified settings will be used to build the mod.
You can load the current export settings for the project by calling 'ExportSettings.Load'.
|