Exemplo n.º 1
0
 public void Set(FloatVariable a)
 {
     Value = a.Value;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Compare within Epsilon
 /// /// </summary>
 /// <see cref="https://docs.unity3d.com/ScriptReference/Mathf.Approximately.html"/>
 public bool Equals(FloatVariable other)
 {
     return(Mathf.Approximately(Value, other.Value));
 }
Exemplo n.º 3
0
 public void Add(FloatVariable a)
 {
     Value += a.Value;
 }