示例#1
0
        void Start()
        {
            mTransform   = transform;
            mCameraAngle = Vector3.zero;

            mGyroBase          = new GyroBase();
            mGyroBase.mManager = mManager;
            mGyroBase.Init(5, 0, 5, 1, false, Change);
        }
示例#2
0
文件: UITest.cs 项目: mengtest/Demo-1
        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);
        }