// Animancer // Copyright 2020 Kybernetik // #pragma warning disable CS0649 // Field is never assigned to, and will always have its default value. using UnityEngine; namespace Animancer.Examples.FineControl { /// /// A with a single movement animation for demonstration purposes. /// [AddComponentMenu(Strings.MenuPrefix + "Examples/Fine Control - Spider Bot Simple")] [HelpURL(Strings.APIDocumentationURL + ".Examples.FineControl/SpiderBotSimple")] public sealed class SpiderBotSimple : SpiderBot { /************************************************************************************************************************/ protected override bool IsMoving { get { return Input.GetKey(KeyCode.Space); } } /************************************************************************************************************************/ [SerializeField] private ClipState.Transition _Move; protected override ITransition MovementAnimation { get { return _Move; } } /************************************************************************************************************************/ } }