private void Start() { _reactCalc = new Expressions.ReactiveCalculator(activation); _reactCalcDeact = new Expressions.ReactiveCalculator(deactivation); wasSpawned = false; }
private void UpdateDirtyProperties(ReactiveCalculator target, SerializedProperty property) { var currentValue = target.Expression; property.FindPropertyRelative("_expression").stringValue = ""; property.FindPropertyRelative("_expression").stringValue = currentValue; property.serializedObject.ApplyModifiedProperties(); }