Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.54 KB

File metadata and controls

24 lines (18 loc) · 1.54 KB

WCFConfigObject Class

A ScriptableObject wrapper that streamlines creating GenerationSpace instances from MonoBehaviours.

public abstract class WCFConfigObject : UnityEngine.ScriptableObject

Inheritance System.Object 🡒 UnityEngine.Object 🡒 UnityEngine.ScriptableObject 🡒 WCFConfigObject

Derived
WCFConfigObject<TModuleObject,TModule>

Methods


Create()

Create a blank GenerationSpace from the configuration.
This is a useful method for creating generation spaces pre-configured with edges, slots, and modules.


TryGetSprite(Module, Sprite)

If a module has a Sprite associated with it, you can use this method to try and get it. Depending on the type of Module, there may not be any Sprite available.