Skip to content

I want to reference the value of a ScriptableVariable just like a regular variable.

Add a implicit operator to allow using a SV without having to call .Value().

Something like this maybe?

public static implicit operator T(ScriptableVariable<T> v) {
  return v.Value();
}
Edited by Erik Johnson