Example #1
0
    private void Start()
    {
        _reactCalc = new Expressions.ReactiveCalculator(activation);

        _reactCalcDeact = new Expressions.ReactiveCalculator(deactivation);

        wasSpawned = false;
    }
Example #2
0
        private void UpdateDirtyProperties(ReactiveCalculator target, SerializedProperty property)
        {
            var currentValue = target.Expression;

            property.FindPropertyRelative("_expression").stringValue = "";
            property.FindPropertyRelative("_expression").stringValue = currentValue;

            property.serializedObject.ApplyModifiedProperties();
        }