public override IEnumerable<Gizmo> GetWornGizmos() { Designator_PutInInventory designator = new Designator_PutInInventory(); designator.backpack = this; designator.icon = ContentFinder<Texture2D>.Get("UI/Commands/IconPutIn"); designator.defaultLabel = DesignatorPutInInventoryDefaultLabel + "(" + wearer.inventory.container.Count + "/" + MaxItem + ")"; designator.defaultDesc = DesignatorPutInInventoryDefaultDesc + wearer.inventory.container.Count + "/" + MaxItem; designator.hotKey = KeyBindingDef.Named("CommandPutInInventory"); designator.activateSound = SoundDef.Named("Click"); yield return designator; Gizmo_BackpackEquipment gizmo = new Gizmo_BackpackEquipment(); gizmo.backpack = this; yield return gizmo; }
public override IEnumerable <Gizmo> GetWornGizmos() { Designator_PutInInventory designator = new Designator_PutInInventory(); designator.backpack = this; designator.icon = ContentFinder <Texture2D> .Get("UI/Commands/IconPutIn"); designator.defaultLabel = DesignatorPutInInventoryDefaultLabel + "(" + wearer.inventory.container.Count + "/" + MaxItem + ")"; designator.defaultDesc = DesignatorPutInInventoryDefaultDesc + wearer.inventory.container.Count + "/" + MaxItem; designator.hotKey = KeyBindingDef.Named("CommandPutInInventory"); designator.activateSound = SoundDef.Named("Click"); yield return(designator); Gizmo_BackpackEquipment gizmo = new Gizmo_BackpackEquipment(); gizmo.backpack = this; yield return(gizmo); }