Table of Contents

Class NDMFPreviewSceneManager

Namespace
nadena.dev.ndmf.preview
public static class NDMFPreviewSceneManager
Inheritance
NDMFPreviewSceneManager
Inherited Members

Methods

GetPreviewScene()

Returns a scene that can be used for temporary GameObjects used in preview filters. This scene will not be displayed in the hierarchy; however, they can be interacted with in the scene view normally. Objects in this scene (or the scene itself!) may be destroyed at unexpected times; your code must take care to handle this case.

public static Scene GetPreviewScene()

Returns

Scene

IsPreviewScene(Scene)

Returns true if the given scene is the NDMF preview scene.

public static bool IsPreviewScene(Scene s)

Parameters

s Scene

Returns

bool