Animations.cs 1.4 KB

123456789101112131415161718192021222324252627282930
  1. // Animancer // https://kybernetik.com.au/animancer // Copyright 2022 Kybernetik //
  2. using UnityEngine;
  3. namespace Animancer.Examples.AnimatorControllers
  4. {
  5. /// <summary>A central location for cached Animator Controller hashes.</summary>
  6. ///
  7. /// <remarks>
  8. /// <see href="https://kybernetik.com.au/weaver">Weaver</see> has a system for procedurally generating an
  9. /// <see href="https://kybernetik.com.au/weaver/docs/project-constants/animations">Animations</see> script like
  10. /// this so that you don't need to keep it in sync with your Animator Controllers manually.
  11. /// It's included in Weaver Lite for FREE.
  12. /// </remarks>
  13. ///
  14. /// <example><see href="https://kybernetik.com.au/animancer/docs/examples/animator-controllers/character">Hybrid Character</see></example>
  15. ///
  16. /// https://kybernetik.com.au/animancer/api/Animancer.Examples.AnimatorControllers/Animations
  17. ///
  18. public static class Animations
  19. {
  20. /************************************************************************************************************************/
  21. public static readonly int IsMoving = Animator.StringToHash("IsMoving");
  22. public static readonly int MoveBlend = Animator.StringToHash("MoveBlend");
  23. /************************************************************************************************************************/
  24. }
  25. }