Initial Commit
This commit is contained in:
parent
53eb92e9af
commit
270ab7d11f
15341 changed files with 700234 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using Unity.Cloud.Collaborate.Assets;
|
||||
using Unity.Cloud.Collaborate.UserInterface;
|
||||
using UnityEditor;
|
||||
using UnityEngine.UIElements;
|
||||
|
||||
namespace Unity.Cloud.Collaborate.Tests
|
||||
{
|
||||
internal class TestWindow : EditorWindow
|
||||
{
|
||||
void OnEnable()
|
||||
{
|
||||
var root = rootVisualElement;
|
||||
root.styleSheets.Add(AssetDatabase.LoadAssetAtPath<StyleSheet>(CollaborateWindow.MainStylePath));
|
||||
|
||||
root.AddToClassList(EditorGUIUtility.isProSkin
|
||||
? UiConstants.ussDark
|
||||
: UiConstants.ussLight);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue