PrefabGenerator.

UseTempScene(ProceduralAsset) Method

Summary

Indicates whether a temporary scene should be opened while generating the specified `asset`. Returns true because prefabs should always be generated in a temporary scene.
Assembly
Weaver.dll
Namespace
Weaver.Editor.Procedural
Containing Type
PrefabGenerator

Syntax

public override bool UseTempScene(ProceduralAsset asset)

Parameters

Name Type Description
asset ProceduralAsset

Return Value

Type Description
bool