Commit 001b24b4 authored by u15767's avatar u15767
Browse files

updated to new API version

parent 1701ef07
Loading
Loading
Loading
Loading
+90 −83
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEngine.UIElements;

public class CreateARTrackable : EditorWindow
{
@@ -16,9 +17,15 @@ public class CreateARTrackable : EditorWindow
    [MenuItem("ISG-ARF/AR Trackables and Anchors Editor")]
    public static void ShowWindow()
    {
    EditorWindow.GetWindow(typeof(CreateARTrackable), false, "ETSI ARF - Authoring Editor");
        EditorWindow wnd = GetWindow<CreateARTrackable>();
        wnd.titleContent = new GUIContent("ETSI ARF - Authoring Editor");
    }

    /*public void CreateGUI()
    {
        rootVisualElement.Add(new Label("Hello"));
    }*/

    void OnGUI()
    {
        Color ori = GUI.backgroundColor;
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ PluginImporter:
  executionOrder: {}
  defineConstraints: []
  isPreloaded: 0
  isOverridable: 0
  isOverridable: 1
  isExplicitlyReferenced: 0
  validateReferences: 1
  platformData:
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ PluginImporter:
  executionOrder: {}
  defineConstraints: []
  isPreloaded: 0
  isOverridable: 0
  isOverridable: 1
  isExplicitlyReferenced: 0
  validateReferences: 1
  platformData:
+18 KiB (62 KiB)

File changed.

No diff preview for this file type.

+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ PluginImporter:
  executionOrder: {}
  defineConstraints: []
  isPreloaded: 0
  isOverridable: 0
  isOverridable: 1
  isExplicitlyReferenced: 0
  validateReferences: 1
  platformData:
Loading