Marc-Antoine Dumont f90bfccff5 - Initial commit
2015-08-10 15:36:37 -04:00

18 lines
336 B
C#

using System;
using UnityEngine;
namespace UnityStandardAssets.CrossPlatformInput
{
public class InputAxisScrollbar : MonoBehaviour
{
public string axis;
void Update() { }
public void HandleInput(float value)
{
CrossPlatformInputManager.SetAxis(axis, (value*2f) - 1f);
}
}
}