예제 #1
0
        // GENERATE SHAPE_MERGER
        public override GameObject generate(bool makeGameObjects, AXParametricObject initiator_po, bool isReplica)
        {
            // PRE_GENERATE
            preGenerate();


            if (!S_InputShape.hasInputsConnected())
            {
                // clear all outputs!
                S_InputShape.clearAllOutputs();
                return(null);
            }


            if (S_InputShape != null)
            {
                S_InputShape.generate();

                base.generate(false, initiator_po, isReplica);

                calculateBounds();
            }

            return(null);
        }