コード例 #1
0
 public void Reset()
 {
     isGrounded      = false;
     inventory       = new List <GameObject>();
     currentState    = PlayerStates.Idle;
     inventoryState  = InventoryStates.Empty;
     currentInteract = null;
     isInStructure   = false;
     clickedObjName  = "";
     helpText        = "";
     isDie           = false;
     isInRocket      = false;
     isStoryEnded    = false;
 }
コード例 #2
0
 public void setFull()
 {
     inventoryState = InventoryStates.Full;
 }
コード例 #3
0
 public void setHasItems()
 {
     inventoryState = InventoryStates.HasItems;
 }
コード例 #4
0
 public void setEmpty()
 {
     inventoryState = InventoryStates.Empty;
 }
コード例 #5
0
 void Awake()
 {
     // Character tab always loaded as primary tab
     currentMenuState      = MenuStates.Character;
     currentInventoryState = InventoryStates.Equips;
 }
コード例 #6
0
        public InventoryStates Get(Int64 ixInventoryState)
        {
            InventoryStates inventorystates = _context.InventoryStates.AsNoTracking().Where(x => x.ixInventoryState == ixInventoryState).First();

            return(inventorystates);
        }