Esempio n. 1
0
        public void AfterTest()
        {
            _virtualMouse.TestDestroy();

            _image = null;

            _virtualMouse = null;

            Cursor.visible = _priorCursorSetting;
        }
Esempio n. 2
0
        public void BeforeTest()
        {
            _priorCursorSetting = Cursor.visible;

            _virtualMouse = new GameObject().AddComponent <TestVirtualMouseComponent>();

            _image = new GameObject().AddComponent <Image>();

            _virtualMouse.MouseGraphic = _image;

            _virtualMouse.TestAwake();
        }