You've already forked taptap2024_GJ_chidouren
init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
[AddComponentMenu("EasyTouch Controls/Set Direct Action Transform ")]
|
||||
public class ETCSetDirectActionTransform : MonoBehaviour {
|
||||
|
||||
public string axisName1;
|
||||
public string axisName2;
|
||||
|
||||
void Start(){
|
||||
if (!string.IsNullOrEmpty(axisName1)){
|
||||
ETCInput.SetAxisDirecTransform(axisName1, transform);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(axisName2)){
|
||||
ETCInput.SetAxisDirecTransform(axisName2, transform);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: acbe1911d599bc541a2ef42432895267
|
||||
timeCreated: 1453485218
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user