Class BoltGlobalDefine
Create a preprocessor definition if bolt exists in the project
Namespace: Global Namespace
Syntax
[InitializeOnLoad]
public class BoltGlobalDefine : AssetModificationProcessor
Fields
Symbol
Bolt global define symbol
Declaration
public static string Symbol
Field Value
| Type | Description |
|---|---|
| String |
Methods
OnWillDeleteAsset(String, RemoveAssetOptions)
Called on asset are deleted
Declaration
public static AssetDeleteResult OnWillDeleteAsset(string assetPath, RemoveAssetOptions rao)
Parameters
| Type | Name | Description |
|---|---|---|
| String | assetPath | path |
| RemoveAssetOptions | rao | Remove asset options |
Returns
| Type | Description |
|---|---|
| AssetDeleteResult | asset delete result |