working on animations

This commit is contained in:
2025-08-08 23:38:03 +02:00
parent c17ce42700
commit f6a4db7b4d
11 changed files with 423 additions and 111 deletions

View File

@@ -2,6 +2,7 @@
using System.ComponentModel.DataAnnotations;
using RebootKit.Engine.Simulation;
using UnityEngine;
using UnityEngine.AddressableAssets;
namespace RebootReality.jelycho.Items {
public interface IItemChargeAction {
@@ -26,12 +27,21 @@ namespace RebootReality.jelycho.Items {
public AnimationClip block;
}
[Serializable]
public struct ItemActorMountingConfig {
public AssetReferenceGameObject actor;
[MaxLength(32)] public string slotName;
}
[Serializable]
public class ItemConfig {
public Sprite icon;
[Header("Mounting")]
[MaxLength(32)] public string characterEquippedMountSlotName = "hand_right";
public ItemActorMountingConfig[] additionalActorsToMount;
[Header("Character Animations")]
public ItemHandsAnimationClipsSet handsAnimationClipsSets;