Class LayerMask_DirectConverter
Inheritance
object
LayerMask_DirectConverter
Inherited Members
Namespace: Unity.VisualScripting.FullSerializer
Assembly: solution.dll
Syntax
public class LayerMask_DirectConverter : fsDirectConverter<LayerMask>
Methods
CreateInstance(fsData, Type)
Construct an object instance that will be passed to TryDeserialize. This should not deserialize the object.
Declaration
public override object CreateInstance(fsData data, Type storageType)
Parameters
| Type | Name | Description |
|---|---|---|
| fsData | data | The data the object was serialized with. |
| Type | storageType | The field/property type that is storing the instance. |
Returns
| Type | Description |
|---|---|
| object | An object instance |
Overrides
DoDeserialize(Dictionary<string, fsData>, ref LayerMask)
Declaration
protected override fsResult DoDeserialize(Dictionary<string, fsData> data, ref LayerMask model)
Parameters
| Type | Name | Description |
|---|---|---|
| Dictionary<string, fsData> | data | |
| LayerMask | model |
Returns
| Type | Description |
|---|---|
| fsResult |
Overrides
DoSerialize(LayerMask, Dictionary<string, fsData>)
Declaration
protected override fsResult DoSerialize(LayerMask model, Dictionary<string, fsData> serialized)
Parameters
| Type | Name | Description |
|---|---|---|
| LayerMask | model | |
| Dictionary<string, fsData> | serialized |
Returns
| Type | Description |
|---|---|
| fsResult |