public Vector3Reference(bool variable = false)
        {
            UseConstant = !variable;

            if (!variable)
            {
                ConstantValue = Vector3.zero;
            }
            else
            {
                Variable       = ScriptableObject.CreateInstance <Vector3Var>();
                Variable.Value = Vector3.zero;
            }
        }
Exemplo n.º 2
0
 public virtual void SetValue(Vector3Var var)
 {
     Value = var.Value;
 }