Exemple #1
0
        void UpdateVirtualAxes(Vector3 value)
        {
            var delta = m_StartPos - value;

            delta.y = -delta.y;
            delta  /= MovementRange;
            if (m_UseX)
            {
                CrossPlatformInputManager.SetAxis("Horizontal", -delta.x);
            }

            if (m_UseY)
            {
                CrossPlatformInputManager.SetAxis("Vertical", delta.y);
            }
        }
 public void HandleInput(float value)
 {
     CrossPlatformInputManager.SetAxis(axis, (value * 2f) - 1f);
 }
 // Token: 0x06007326 RID: 29478 RVA: 0x0023809A File Offset: 0x0023629A
 public void GFPFHDGALHN(float DPNHODJHGJL)
 {
     CrossPlatformInputManager.SetAxis(this.axis, DPNHODJHGJL * 468f - 1148f);
 }
 // Token: 0x06007315 RID: 29461 RVA: 0x00238032 File Offset: 0x00236232
 public void CKNGLCCCMEB(float DPNHODJHGJL)
 {
     CrossPlatformInputManager.SetAxis(this.axis, DPNHODJHGJL * 462f - 665f);
 }
 // Token: 0x0600731E RID: 29470 RVA: 0x00238080 File Offset: 0x00236280
 public void MKNEOFCAIBP(float DPNHODJHGJL)
 {
     CrossPlatformInputManager.SetAxis(this.axis, DPNHODJHGJL * 426f - 1136f);
 }
 // Token: 0x0600731D RID: 29469 RVA: 0x00238066 File Offset: 0x00236266
 public void OGJMJKEMLMB(float DPNHODJHGJL)
 {
     CrossPlatformInputManager.SetAxis(this.axis, DPNHODJHGJL * 1340f - 873f);
 }
 // Token: 0x06007317 RID: 29463 RVA: 0x0023804C File Offset: 0x0023624C
 public void HandleInput(float DPNHODJHGJL)
 {
     CrossPlatformInputManager.SetAxis(this.axis, DPNHODJHGJL * 2f - 1f);
 }
 // Token: 0x06007328 RID: 29480 RVA: 0x002380B4 File Offset: 0x002362B4
 public void EDNEBAFCPDO(float DPNHODJHGJL)
 {
     CrossPlatformInputManager.SetAxis(this.axis, DPNHODJHGJL * 1330f - 96f);
 }
Exemple #9
0
 // Token: 0x06000A9F RID: 2719 RVA: 0x0003F322 File Offset: 0x0003D722
 public void HandleInput(float value)
 {
     CrossPlatformInputManager.SetAxis(this.axis, value * 2f - 1f);
 }
Exemple #10
0
 void LateUpdate()
 {
     CrossPlatformInputManager.SetAxis("Horizontal", 0);
 }
Exemple #11
0
 public void SetUpState()
 {
     CrossPlatformInputManager.SetAxis(Name, 0);
 }
Exemple #12
0
 public void SetDownState()
 {
     CrossPlatformInputManager.SetAxis(Name, 1);
 }