예제 #1
0
        public override Node Clone(Model.NodeData newData)
        {
            var newNode = new BundleBuilder();

            newNode.m_enabledBundleOptions = new SerializableMultiTargetInt(m_enabledBundleOptions);
            newNode.m_outputDir            = new SerializableMultiTargetString(m_outputDir);
            newNode.m_outputOption         = new SerializableMultiTargetInt(m_outputOption);

            newData.AddDefaultInputPoint();
            newData.AddDefaultOutputPoint();

            return(newNode);
        }
예제 #2
0
        public override Node Clone(Model.NodeData newData)
        {
            var newNode = new GroupingBySize();

            newNode.m_groupSizeByte    = new SerializableMultiTargetInt(m_groupSizeByte);
            newNode.m_groupingType     = new SerializableMultiTargetInt(m_groupingType);
            newNode.m_groupViewContext = new GroupViewContext();
            newNode.m_freezeGroups     = m_freezeGroups;

            newData.AddDefaultInputPoint();
            newData.AddDefaultOutputPoint();
            return(newNode);
        }
예제 #3
0
        public override Node Clone(Model.NodeData newData)
        {
            var newNode = new MirrorDirectory();

            newNode.m_srcPath      = new SerializableMultiTargetString(m_srcPath);
            newNode.m_dstPath      = new SerializableMultiTargetString(m_dstPath);
            newNode.m_mirrorOption = new SerializableMultiTargetInt(m_mirrorOption);

            newData.AddDefaultInputPoint();
            newData.AddDefaultOutputPoint();

            return(newNode);
        }
예제 #4
0
        public override Node Clone(Model.NodeData newData)
        {
            var newNode = new ImportSetting();

            newNode.m_overwritePackingTag          = m_overwritePackingTag;
            newNode.m_spritePackingTagNameTemplate = new SerializableMultiTargetString(m_spritePackingTagNameTemplate);
            newNode.m_useCustomSettingAsset        = m_useCustomSettingAsset;
            newNode.m_customSettingAssetGuid       = m_customSettingAssetGuid;

            newData.AddDefaultInputPoint();
            newData.AddDefaultOutputPoint();
            return(newNode);
        }
예제 #5
0
        public override Node Clone(Model.NodeData newData)
        {
            var newNode = new PlayerBuilder();

            newNode.m_buildOptions   = new SerializableMultiTargetInt(m_buildOptions);
            newNode.m_buildLocations = new SerializableMultiTargetString(m_buildLocations);
            newNode.m_playerName     = new SerializableMultiTargetString(m_playerName);
            newNode.m_scenes         = new SerializableMultiTargetString(m_scenes);
            newNode.m_scroll         = m_scroll;

            newData.AddDefaultInputPoint();

            return(newNode);
        }
예제 #6
0
        public override Node Clone(Model.NodeData newData)
        {
            var newNode = new Filter();

            newNode.m_filter = new List <FilterEntry>(m_filter.Count);

            newData.AddDefaultInputPoint();

            foreach (var f in m_filter)
            {
                newNode.AddFilterCondition(newData, f.Instance.Object);
            }

            return(newNode);
        }
예제 #7
0
        public override Node Clone(Model.NodeData newData)
        {
            var newNode = new AssetGenerator();

            newData.AddDefaultInputPoint();
            newData.AddDefaultOutputPoint();
            var point = newData.AddDefaultOutputPoint();

            newNode.m_defaultOutputPointId = point.Id;

            newNode.m_entries = new List <GeneratorEntry>();
            foreach (var s in m_entries)
            {
                newNode.AddEntry(newData, s);
            }

            return(newNode);
        }
예제 #8
0
        public override Node Clone(Model.NodeData newData)
        {
            var newNode = new BundleConfigurator();

            newNode.m_bundleNameTemplate = new SerializableMultiTargetString(m_bundleNameTemplate);
            newNode.m_variants           = new List <Variant>(m_variants.Count);
            newNode.m_useGroupAsVariants = m_useGroupAsVariants;

            newData.AddDefaultInputPoint();
            newData.AddDefaultOutputPoint();

            foreach (var v in m_variants)
            {
                newNode.AddVariant(newData, v.Name);
            }

            return(newNode);
        }
예제 #9
0
        public override void Initialize(Model.NodeData data)
        {
            m_filter = new List <FilterEntry>();

            data.AddDefaultInputPoint();
        }
예제 #10
0
파일: Flatten.cs 프로젝트: kebohiki/Autoya
 public override void Initialize(Model.NodeData data)
 {
     m_myValue = new SerializableMultiTargetString();
     data.AddDefaultInputPoint();
     data.AddDefaultOutputPoint();
 }
예제 #11
0
 public override void Initialize(Model.NodeData data)
 {
     data.AddDefaultInputPoint();
     data.AddDefaultOutputPoint();
 }