예제 #1
0
 public ElectricalViewModel()
 {
     NumOfStagesBD        = ElectricModel.GetNumOfStages();
     Arr                  = ElectricModel.GetPowerOfStages();
     ThermoSwitchBD       = ElectricModel.GetThermoSwitches();
     PCHChecked           = false;
     SelectedNumOfStages  = NumOfStagesBD[0];
     SelectedThermoSwitch = ThermoSwitchBD[0];
     SelectedValue        = 0;
 }
예제 #2
0
 private void Start()
 {
     electricModel = GetComponent <ElectricModel>();
     gameMange     = GameObject.FindWithTag("Player").GetComponent <GameMange>();
 }