整合SLSUtilities
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Sirenix.Serialization;
|
||||
using UnityEngine;
|
||||
|
||||
namespace SLSUtilities.FunctionalAnimation
|
||||
@@ -45,16 +46,12 @@ namespace SLSUtilities.FunctionalAnimation
|
||||
|
||||
[Tooltip("技能是否受速度倍率影响 (例如:角色的攻速属性)")]
|
||||
public bool isAffectedBySpeedMultiplier;
|
||||
|
||||
[Tooltip("技能交互标签,用于标记技能与其他系统的交互关系,例如可以用来标记哪些技能可以被特定状态打断等")]
|
||||
public Dictionary<string, List<string>> interactionTags;
|
||||
|
||||
[Tooltip("技能描述,通常是给开发者看的,便于回忆,可以不写,不会在游戏中显示")]
|
||||
[TextArea]
|
||||
public string description;
|
||||
|
||||
public FuncAnimInfo(string animationName, string stateName, bool useRootMotion, List<string> tags, DisruptionType disruptionType,
|
||||
float overridePlaySpeed, int overrideStartFrame, bool isAffectedBySpeedMultiplier, Dictionary<string, List<string>> interactionTags)
|
||||
float overridePlaySpeed, int overrideStartFrame, bool isAffectedBySpeedMultiplier)
|
||||
{
|
||||
this.animationName = animationName;
|
||||
this.stateName = stateName;
|
||||
@@ -64,7 +61,6 @@ namespace SLSUtilities.FunctionalAnimation
|
||||
this.overridePlaySpeed = overridePlaySpeed;
|
||||
this.overrideStartFrame = overrideStartFrame;
|
||||
this.isAffectedBySpeedMultiplier = isAffectedBySpeedMultiplier;
|
||||
this.interactionTags = interactionTags;
|
||||
this.description = "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user