예제 #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);
        }