Ejemplo n.º 1
0
    private static void OpenWindow()
    {
        AtlasUI window = GetWindow <AtlasUI>();

        window.titleContent = new GUIContent("World Atlas");
        i = window;
    }
Ejemplo n.º 2
0
    // Use this for initialization
    private void OnEnable()
    {
        levels = new List <AtlasLevelView>();

        nodeStyle = new GUIStyle();
        nodeStyle.normal.background = EditorGUIUtility.Load("builtin skins/darkskin/images/node1.png") as Texture2D;
        nodeStyle.border            = new RectOffset(12, 12, 12, 12);
        i = this;
    }