Move ruleset config to main scene. Add title for UI.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user