Class Grid
Grid setting for each item.
每個物品的方格設定。
Inheritance
System.Object
Grid
Namespace: Votanic.vXR.vGear.Inventory
Assembly: Votanic.vXR.dll
Syntax
[Serializable]
public class Grid
Fields
icon
Display icon.
顯示圖示。
Declaration
[Tooltip("Display icon textures of each layer.\n顯示圖示各層級的紋理。")]
public List<Texture2D> icon
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<UnityEngine.Texture2D> |
maxQuantity
Maximum store quantity of this grid occupation.
這個佔據格數的最大存放量。
Declaration
[Tooltip("Maximum quantity of this grid occupation.\n這個貨幣的最大值。")]
public int maxQuantity
Field Value
Type | Description |
---|---|
System.Int32 |
occupy
The grid occupied.
庫存需要的格數。
Declaration
[Tooltip("The grid occupied.\n庫存需要的格數。")]
public Vector2Int occupy
Field Value
Type | Description |
---|---|
UnityEngine.Vector2Int |
quality
Display quality.
顯示品質。
Declaration
[Tooltip("Display icon.\n顯示圖示。")]
public Texture2D quality
Field Value
Type | Description |
---|---|
UnityEngine.Texture2D |