/// <summary> /// Initializes a new instance of the <see cref="Request"/> class. /// </summary> public Request() { TransactionData = new TransactionData(); Enduser = new EndUser(); SalesData = new SalesData(); StatsData = new StatsDetails(); }
public static void NextDetailsLevel() { var detail = (int)Details + 1; if (detail > 2) { detail = 0; } Details = (StatsDetails)detail; }
private void Awake() { if (rf == null) { rf = this; DontDestroyOnLoad(gameObject); } else { Destroy(gameObject); } healthBar = GameObject.Find("HealthBar").GetComponent <Bar>(); staminaBar = GameObject.Find("StaminaBar").GetComponent <Bar>(); playerEquipment = FindObjectOfType <PlayerEquipment>(); playerMovement = FindObjectOfType <PlayerMovement>(); statsDetails = FindObjectOfType <StatsDetails>(); mainInventory = FindObjectOfType <MainInventory>(); weaponSlot = FindObjectOfType <WeaponSlot>(); enemyManager = FindObjectOfType <EnemyManager>(); inventoryScreenCharacter = FindObjectOfType <InventoryScreenCharacter>(); mainInventory.gameObject.SetActive(false); mainCamera = Camera.main; }