Class VariableModel
Inheritance
VariableModel
Namespace: Graph
Assembly: solution.dll
Syntax
[Serializable]
public abstract class VariableModel : IEquatable<VariableModel>
Fields
ID
Declaration
[SerializeField]
public SerializableGUID ID
Field Value
Name
Declaration
[SerializeField]
public string Name
Field Value
Properties
ObjectValue
Declaration
public abstract object ObjectValue { get; set; }
Property Value
Type
Declaration
public abstract Type Type { get; }
Property Value
Methods
Equals(VariableModel)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(VariableModel other)
Parameters
Type |
Name |
Description |
VariableModel |
other |
An object to compare with this object.
|
Returns
Type |
Description |
bool |
true if the current object is equal to the other parameter; otherwise, false.
|
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Type |
Description |
bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A hash code for the current object.
|
Overrides
OnValidate()
Declaration
public virtual void OnValidate()
Operators
operator ==(VariableModel, VariableModel)
Declaration
public static bool operator ==(VariableModel a, VariableModel b)
Parameters
Returns
operator !=(VariableModel, VariableModel)
Declaration
public static bool operator !=(VariableModel a, VariableModel b)
Parameters
Returns
Implements