Drawable Class

Drawable prefab.

Definition

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

Constructors

Drawable Empty constructor.
Drawable(SavedPrefab) Constructor that converts saved data to the drawable.
Drawable(GameObject, Boolean, Single, Boolean, Offsets, Boolean, Filters) Full constructor.

Properties

Filters Individual filters of this prefab.
FiltersFoldout Is filters UI is folded out?
Offsets Individual offsets of this prefab.
OffsetsFoldout Is offsets UI is folded out?
OverrideFilters Would this prefab override global filters?
OverrideOffsets Would this prefab override global offsets?

Methods

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)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

drawThis Should this prefab be drawn?
prefab Prefab object.
weight Weight of this prefab. Used to determinate which prefab would be drawn more than the others.

See Also