コード例 #1
0
 public void ConfirmCreat()
 {
     //send to controller and creat
     factoryController.StartCreatSoilders(CreatType,
                                          CurrentCreat,
                                          (factoryObjInfo.EnegyCost * CurrentCreat),
                                          (factoryObjInfo.Mat_0Cost * CurrentCreat),
                                          (factoryObjInfo.Mat_1Cost * CurrentCreat),
                                          (factoryObjInfo.Mat_2Cost * CurrentCreat)
                                          );
     //close
     Board.SetActive(false);
 }