Exemple #1
0
        public override void DoModify(Component c, int objectId, Component modifier)
        {
            CompositeComponent compositeModifier = (CompositeComponent)DoFindRoot(modifier);

            int?index = TravelTreeAndReturnIndex(objectId, compositeModifier);

            if (index != null)
            {
                compositeModifier.SetComponent((int)index, c);
            }
        }