Class RectOffset_DirectConverter
Inheritance
object
RectOffset_DirectConverter
Inherited Members
Namespace: Unity.VisualScripting.FullSerializer
Assembly: solution.dll
Syntax
public class RectOffset_DirectConverter : fsDirectConverter<RectOffset>
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 RectOffset)
Declaration
protected override fsResult DoDeserialize(Dictionary<string, fsData> data, ref RectOffset model)
Parameters
| Type | Name | Description |
|---|---|---|
| Dictionary<string, fsData> | data | |
| RectOffset | model |
Returns
| Type | Description |
|---|---|
| fsResult |
Overrides
DoSerialize(RectOffset, Dictionary<string, fsData>)
Declaration
protected override fsResult DoSerialize(RectOffset model, Dictionary<string, fsData> serialized)
Parameters
| Type | Name | Description |
|---|---|---|
| RectOffset | model | |
| Dictionary<string, fsData> | serialized |
Returns
| Type | Description |
|---|---|
| fsResult |