Skip to content
Snippets Groups Projects
Select Git revision
  • 241474961bc2a823daab637635d22017a87d5a34
  • master default
  • dependabot/nuget/source/Sample/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/MasterDevs.ChromeDevTools.Tests/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ProtocolGenerator/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/System.Net.Http-4.3.4
  • revert-29-revert-24-protocol_62
  • revert-24-protocol_62
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0.40915
13 results

CloseTargetCommand.cs

Blame
  • ButtonHandler.cs 830 B
    using UnityEngine;
    
    namespace PlayerCtrl
    {
        public class ButtonHandler : MonoBehaviour
        {
    
            public string Name;
    
            void OnEnable()
            {
    
            }
    
            public void SetDownState()
            {
                CrossPlatformInputManager.SetButtonDown(Name);
            }
    
    
            public void SetUpState()
            {
                CrossPlatformInputManager.SetButtonUp(Name);
            }
    
    
            public void SetAxisPositiveState()
            {
                CrossPlatformInputManager.SetAxisPositive(Name);
            }
    
    
            public void SetAxisNeutralState()
            {
                CrossPlatformInputManager.SetAxisZero(Name);
            }
    
    
            public void SetAxisNegativeState()
            {
                CrossPlatformInputManager.SetAxisNegative(Name);
            }
    
            public void Update()
            {
    
            }
        }
    }