SavedPrefab Class

Prefab save data for the presets.

Definition

Namespace: NorthLab.PrefabDrawer
Assembly: NL.PrefabDrawer (in NL.PrefabDrawer.dll) Version: 1.0.0.0
C#
[SerializableAttribute]
public class SavedPrefab
Inheritance
Object    SavedPrefab

Constructors

SavedPrefab(Drawable) Constructor that converts Drawable class to the save data.
SavedPrefab(String, Boolean, Single, Boolean, Offsets, Boolean, Filters) Constructor with parameters.

Properties

Filters Individual filters of this prefab.
Offsets Individual offsets of this prefab.
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?
path Path to the prefab in a project.
weight Weight of this prefab. Used to determinate which prefab would be drawn more than the others.

See Also