Move ruleset config to main scene. Add title for UI.

This commit is contained in:
2023-02-06 22:55:14 +08:00
parent c0744a3464
commit da68c8b877
27 changed files with 94 additions and 35 deletions

View File

@@ -0,0 +1,10 @@
using UnityEngine;
namespace Cryville.Common.Unity.UI {
public class SetIntegerParameterBehaviour : SetParameterBehaviour {
[SerializeField] int m_value;
public override void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex) {
animator.SetInteger(m_name, m_value);
}
}
}