stuff
This commit is contained in:
@@ -1,11 +1,24 @@
|
||||
using System;
|
||||
using Unity.Collections;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RebootReality.jelycho.Items {
|
||||
public enum ItemType {
|
||||
Neutral = 0,
|
||||
Egg = 1,
|
||||
Sword = 2,
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public struct ItemConfig {
|
||||
public FixedString32Bytes itemID;
|
||||
public class ItemConfig {
|
||||
public ItemType itemType = ItemType.Neutral;
|
||||
public Sprite icon;
|
||||
|
||||
[MaxLength(32)] public string characterEquippedMountSlotName = "hand_right";
|
||||
|
||||
[Header("Chargeable")]
|
||||
public bool isChargeable = false;
|
||||
public float chargeDuration = 0.5f;
|
||||
public float chargeCooldown = 1.0f;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user