You've already forked taptap2024_GJ_chidouren
init
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class AxisXUi : MonoBehaviour {
|
||||
|
||||
public void ActivateAxisX( bool value){
|
||||
ETCInput.SetAxisEnabled( "Horizontal",value);
|
||||
}
|
||||
|
||||
public void InvertedAxisX( bool value){
|
||||
ETCInput.SetAxisInverted("Horizontal",value);
|
||||
}
|
||||
|
||||
public void DeadAxisX( float value){
|
||||
ETCInput.SetAxisDeadValue("Horizontal",value);
|
||||
}
|
||||
|
||||
public void SpeedAxisX(float value){
|
||||
ETCInput.SetAxisSensitivity( "Horizontal",value);
|
||||
}
|
||||
|
||||
public void IsInertiaX(bool value){
|
||||
ETCInput.SetAxisInertia( "Horizontal",value);
|
||||
}
|
||||
|
||||
public void InertiaSpeedX( float value){
|
||||
ETCInput.SetAxisInertiaSpeed( "Horizontal",value);
|
||||
}
|
||||
|
||||
|
||||
public void ActivateAxisY( bool value){
|
||||
ETCInput.SetAxisEnabled( "Vertical",value);
|
||||
}
|
||||
|
||||
public void InvertedAxisY( bool value){
|
||||
ETCInput.SetAxisInverted("Vertical",value);
|
||||
}
|
||||
|
||||
public void DeadAxisY( float value){
|
||||
ETCInput.SetAxisDeadValue("Vertical",value);
|
||||
}
|
||||
|
||||
public void SpeedAxisY(float value){
|
||||
ETCInput.SetAxisSensitivity( "Vertical",value);
|
||||
}
|
||||
|
||||
public void IsInertiaY(bool value){
|
||||
ETCInput.SetAxisInertia( "Vertical",value);
|
||||
}
|
||||
|
||||
public void InertiaSpeedY( float value){
|
||||
ETCInput.SetAxisInertiaSpeed( "Vertical",value);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fa79fde406c9ffe4799b0929f7badad3
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user