Пример #1
0
    /// <summary>
    /// Makes the final input lists and proceeds with the creation of the module
    /// (which continues in UImanager!)
    /// </summary>
    public void ProceedCreateModule()
    {
        // At least one output!
        if (totalSelected > 0)
        {
            // If this is a regulatory module, the output list has been automatically
            // processed (if we attempt to call MakeFinalLists the list for labels
            // will have more entries than the outputList, which is problematic!)
            if (!isRegulationModule)
            {
                MakeFinalLists(outputList, outputLabelsLocal);
            }

            uiManager.AddBasicModulePart2(isRegulationModule, inputList, inputLabelsLocal,
                                          outputList, outputLabelsLocal);
            Destroy(this.gameObject);
        }
    }