private static void OnMovementStateChanged(Transform transform, bool is_moving) { KBatchedAnimController component = transform.GetComponent <KBatchedAnimController>(); component.OnMovementStateChanged(is_moving); }