Class Ray2DConverter
Inheritance
Ray2DConverter
Assembly: Unity.VisualScripting.Core.dll
Syntax
public class Ray2DConverter : fsDirectConverter<Ray2D>
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 Ray2D)
Declaration
protected override fsResult DoDeserialize(Dictionary<string, fsData> data, ref Ray2D model)
Parameters
Returns
Overrides
DoSerialize(Ray2D, Dictionary<string, fsData>)
Declaration
protected override fsResult DoSerialize(Ray2D model, Dictionary<string, fsData> serialized)
Parameters
Returns
Overrides
Extension Methods