Ejemplo n.º 1
0
        public static void ShowWindow()
        {
            PhysSoundTypeEditor w = EditorWindow.GetWindow <PhysSoundTypeEditor>();

#if UNITY_5_1
            w.titleContent = new GUIContent("Input Manager");
#else
            w.title = "Input Manager";
#endif

            w.Initialize();
        }
        public static void ShowWindow()
        {
            PhysSoundTypeEditor w = GetWindow <PhysSoundTypeEditor>();

#if UNITY_5_1
            w.titleContent = new GUIContent("PhysSound");
#else
            w.titleContent.text = nameof(PhysSound);
#endif

            w.Initialize();
        }