Initial
This commit is contained in:
commit
36a53f343e
1 changed files with 300431 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue