Game đua xe 3D

30.505 lượt xem;
1 using System;
2 using
UnityEngine;
3
4 namespace
UnityStandardAssets.CrossPlatformInput
5 {
6     
public class InputAxisScrollbar : MonoBehaviour
7     {
8         
public string axis;
9
10         
void Update() { }
11
12         
public void HandleInput(float value)
13         {
14             CrossPlatformInputManager.SetAxis(axis, (
value*2f) - 1f);
15         }
16     }
17 }



Game đua xe 3D 30.505 lượt xem

Gõ tìm kiếm nhanh...