void Start() { mTransform = transform; mCameraAngle = Vector3.zero; mGyroBase = new GyroBase(); mGyroBase.mManager = mManager; mGyroBase.Init(5, 0, 5, 1, false, Change); }
void Start() { Btn.onClick.AddListener(Clicked); input.text = "7"; input.onValueChanged.AddListener(SpeedChange); GyroBase mGyroBase = new GyroBase(); mGyroBase.mManager = mManager; mGyroBase.Init(80, Btn.transform.localPosition.x, 80, 1, true, Change); }