Show / Hide Table of Contents

Class VariaWeightedValue

Inheritance
object
VariaWeightedValue
Implements
ISerializationCallbackReceiver
Namespace: Varia
Assembly: Varia.dll
Syntax
[Serializable]
public class VariaWeightedValue : ISerializationCallbackReceiver

Fields

value

Declaration
[NonSerialized]
public object value
Field Value
Type Description
object

weight

Declaration
public float weight
Field Value
Type Description
float

Methods

CanSerialize(Type)

Declaration
public static bool CanSerialize(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
bool

GetDefault(Type)

Declaration
public static object GetDefault(Type t)
Parameters
Type Name Description
Type t
Returns
Type Description
object

OnAfterDeserialize()

Implement this method to receive a callback after Unity deserializes your object.

Declaration
public void OnAfterDeserialize()

OnBeforeSerialize()

Implement this method to receive a callback before Unity serializes your object.

Declaration
public void OnBeforeSerialize()

Implements

UnityEngine.ISerializationCallbackReceiver
In this article
Back to top Generated by DocFX