Table of Contents

Class PuddlecraftScenePreview

Namespace
DFA.PuddlecraftEditor

Shows rain in the Scene view in Edit mode, as it would appear in Play mode. The preset's rain prefab falls around the Scene view camera with its splashes, mist and rings on the water, and each spout pours its effects. The copies are hidden and never saved, so the scene is not modified. Changes to the prefabs or the preset show in the Scene view immediately.

Game cameras never draw the Scene view's rain, and in Play mode the Scene view does not draw theirs.

[InitializeOnLoad]
public static class PuddlecraftScenePreview
Inheritance
PuddlecraftScenePreview

Properties

enabled

Shows rain around the Scene view camera in Edit mode. Saved per user across editor sessions, off by default.

public static bool enabled { get; set; }

Property Value

bool