コード例 #1
0
ファイル: ShipDesignSlot.cs プロジェクト: TomCR94/UnityStars
 public ShipDesignSlot(TechHullSlot hullSlot, TechHullComponent hullComponent, int quantity) : base()
 {
     this.hullSlot      = hullSlot;
     this.hullComponent = hullComponent;
     if (this.hullComponent != null)
     {
         this.hullComponentName = hullComponent.getName();
     }
     this.quantity = quantity;
 }
コード例 #2
0
ファイル: ShipDesignSlot.cs プロジェクト: TomCR94/UnityStars
 public void setHullSlot(TechHullSlot hullSlot)
 {
     this.hullSlot = hullSlot;
 }