Class Generatables
Generatables setting of item.
物品的可生成物設定。
Inheritance
System.Object
Generatables
Namespace: Votanic.vXR.vGear.Inventory
Assembly: Votanic.vXR.dll
Syntax
[Serializable]
public class Generatables
Fields
defaultIsPick
Pick the item after creation.
生成後拾起物品。
Declaration
[Tooltip("Pick the item after creation.\n生成後拾起物品。")]
public bool defaultIsPick
Field Value
Type | Description |
---|---|
System.Boolean |
destroyOnly
Store function will only destroy generatables, will not add the quantity to inventory.
儲存功能只會刪除生成物,並不會將其數量加入庫存中。
Declaration
[Tooltip("Store function will only destroy generatables, will not add the quantity to inventory.\n儲存功能只會刪除生成物,並不會將其數量加入庫存中。")]
public bool destroyOnly
Field Value
Type | Description |
---|---|
System.Boolean |
eulerAngles
Relative euler angles of creation point.
生成地點的相對角度。
Declaration
[Tooltip("Relative euler angles of creation point.\n生成地點的相對角度。")]
public Vector3 eulerAngles
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 |
modelPrefab
Prefab of model object.
模型物件預製件。
Declaration
[Tooltip("Prefab of model object.\n模型物件預製件。")]
public GameObject modelPrefab
Field Value
Type | Description |
---|---|
UnityEngine.GameObject |
position
Relative position of creation point.
生成地點的相對位置。
Declaration
[Tooltip("Relative position of creation point.\n生成地點的相對位置。")]
public Vector3 position
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 |