AssetGenerator.

Save(Object, string, bool) Method

Summary

Saves `obj` as an asset file at `assetPath`. If successful, the `obj` is destroyed and the reference is replaced with the newly saved asset.
Assembly
Weaver.dll
Namespace
Weaver.Editor.Procedural
Containing Type
AssetGenerator

Syntax

public virtual void Save(ref Object obj, string assetPath, out bool hasSubAssets)

Parameters

Name Type Description
obj Object
assetPath string
hasSubAssets bool

Return Value

Type Description
void