brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
unity-animationUnity Animation skill for Animator controllers, Animation Rigging, Timeline integration, and animation state machines.
Independent GitHub snapshot · Automated classification · Original documentation governs
Animation system implementation and configuration in Unity.
This skill provides capabilities for implementing character and object animation using Unity's Animator, Animation Rigging, and Timeline systems.
public class CharacterAnimator : MonoBehaviour
{
private Animator animator;
private static readonly int SpeedHash = Animator.StringToHash("Speed");
private static readonly int JumpTrigger = Animator.StringToHash("Jump");
void Update()
{
float speed = GetMovementSpeed();
animator.SetFloat(SpeedHash, speed, 0.1f, Time.deltaTime);
if (Input.GetButtonDown("Jump"))
{
animator.SetTrigger(JumpTrigger);
}
}
}
[RequireComponent(typeof(RigBuilder))]
public class AimRig : MonoBehaviour
{
[SerializeField] private MultiAimConstraint aimConstraint;
[SerializeField] private Transform aimTarget;
public void SetAimWeight(float weight)
{
aimConstraint.weight = weight;
}
}