I'm new to spine so maybe there's something obvious I'm missing but here's what I've done so far.
SkeletonAnimation anim;
anim = GetComponent<SkeletonAnimation>();
anim.state.SetAnimation( 0, "Hit", false );
Loading Image
Loading Image
My issue is that anim is always null even though it clearly exists in the inspector.