protected virtual void OnEnable() { global = target as GlobalValueBase; initialValue = serializedObject.FindProperty("InitialValue"); runtimeValue = serializedObject.FindProperty("RuntimeValue"); resetBool = serializedObject.FindProperty("ResetOnPlay"); }
protected virtual void OnEnable() { global = target as GlobalValueBase; }