PrefabsModule Class

This module manages the list of the drawable prefabs.

Definition

Namespace: NorthLab.PrefabDrawer
Assembly: NL.PrefabDrawer (in NL.PrefabDrawer.dll) Version: 1.0.0.0
C#
public class PrefabsModule : Module
Inheritance
Object    Module    PrefabsModule

Constructors

PrefabsModule Module constructor method. Calls Init method.

Properties

ConfigVersion Version of the configuration version.
(Overrides ModuleConfigVersion)
DisplayName Displayed name in the UI.
(Overrides ModuleDisplayName)
FoldOut Is this module's UI is folded out?
(Inherited from Module)
MainPrefabDrawer window reference.
(Inherited from Module)
ModuleConfig Configuration of this module.
(Overrides ModuleModuleConfig)
PossibleToDraw Is it possible to draw? CheckBoolListCheckPrefabList

Methods

CheckBoolList Is prefab list have at least one drawable object?
CheckPrefabList Is prefab list have at least one not empty object?
ConfigIsValid Is saved data valid for this module?
(Inherited from Module)
DrawUI UI drawing method.
(Inherited from Module)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetRandomDrawable Get random prefab that could be drawn.
GetTypeGets the Type of the current instance.
(Inherited from Object)
Init Initialize module.
(Inherited from Module)
Load Load module's settings from Config.
(Overrides ModuleLoad(Config))
MainUI UI that will be displayed inside of the fold out.
(Overrides ModuleMainUI(Rect))
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Save Save module's settings.
(Overrides ModuleSave)
SceneUpdate Called when Scene window is updated.
(Inherited from Module)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also