animations refactor
This commit is contained in:
@@ -15,19 +15,25 @@ namespace RebootReality.jelycho.Items {
|
||||
void Attack(Actor attacker, ItemActor itemActor);
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class ItemHandsAnimationClipsSet {
|
||||
public AnimationClip idle;
|
||||
public AnimationClip charging;
|
||||
public AnimationClip chargedIdle;
|
||||
public AnimationClip chargedUse;
|
||||
|
||||
public AnimationClip[] quickAttacks;
|
||||
public AnimationClip block;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class ItemConfig {
|
||||
public Sprite icon;
|
||||
|
||||
[MaxLength(32)] public string characterEquippedMountSlotName = "hand_right";
|
||||
|
||||
[Header("Character Animations Names")]
|
||||
public string idleAnimation;
|
||||
public string chargingAnimation;
|
||||
public string chargedUseAnimation;
|
||||
|
||||
public string[] quickAttacksAnimations;
|
||||
public string blockAnimation;
|
||||
[Header("Character Animations")]
|
||||
public ItemHandsAnimationClipsSet handsAnimationClipsSets;
|
||||
|
||||
[Header("Quick Attack")]
|
||||
public bool canQuickAttack = false;
|
||||
|
||||
Reference in New Issue
Block a user