示例#1
0
        private static void ShowWindow()
        {
#if UNITY_STANDALONE
            _window = GetWindow <TobiiEulaCheck>(true);
#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_3_OR_NEWER
            _window.titleContent = new GUIContent("Tobii EULA");
#else
            _window.title = "Tobii EULA";
#endif
            _window.minSize  = new Vector2(400, 290);
            _window.position = new Rect(100, 75, 400, 290);
#endif
        }
示例#2
0
        private static void ShowWindow()
        {
#if UNITY_STANDALONE
            _window = GetWindow <TobiiEulaCheck>(true);
#if UNITY_5_1 || UNITY_5_2 || UNITY_5_3 || UNITY_5_3_OR_NEWER
            _window.titleContent = new GUIContent("Tobii Unity SDK License and Use Agreement");
#else
            _window.title = "Tobii Unity SDK License and Use Agreement";
#endif
            _window.minSize  = new Vector2(600, 790);
            _window.position = new Rect(100, 75, 600, 790);
#endif
        }