Exemple #1
0
        public void Add(TargetProperty property, Operation operation, float value)
        {
            var modifier = new ModifierDescriptor();

            modifier.TargetProperty = property;
            modifier.Operation      = operation;
            modifier.Value          = value;
            Modifiers.Add(modifier);
        }
        public object Clone()
        {
            var descriptor = new ModifierDescriptor();

            descriptor.TargetProperty = TargetProperty;
            descriptor.Operation      = Operation;
            descriptor.Value          = Value;
            descriptor.Path           = Path;
            return(descriptor);
        }