enable() private méthode

private enable ( ModelSwitchData data ) : void
data ModelSwitchData
Résultat void
Exemple #1
0
 internal void initialize()
 {
     if (enabled)
     {
         group.enable(this);
     }
 }
Exemple #2
0
        public void onModelUpdated(BaseField field, object obj)
        {
            ModelSwitchGroup group = Array.Find(modelGroups, m => m.name == guiGroupSelection);

            group.enable(guiModelSelection);
            updateGui();
            guiModelSelection = group.enabledModel.name;
            updateContainerVolume();
            updateMassAndCost();
            updateDragCube();
            updateAttachNodes(true);
            updatePersistentData();
        }