diff --git a/Scripts/AimerInputModule.cs b/Scripts/AimerInputModule.cs index 10a62b9..2f00b8a 100644 --- a/Scripts/AimerInputModule.cs +++ b/Scripts/AimerInputModule.cs @@ -1,10 +1,6 @@ /// Credit Chris Trueman /// Sourced from - http://forum.unity3d.com/threads/use-reticle-like-mouse-for-worldspace-uis.295271/ -using UnityEngine; -using UnityEngine.EventSystems; -using System.Collections.Generic; - namespace UnityEngine.EventSystems.Extensions { [RequireComponent(typeof(EventSystem))] diff --git a/Scripts/Editor/UIExtensionsMenuOptions.cs b/Scripts/Editor/UIExtensionsMenuOptions.cs index 6faa789..79e1197 100644 --- a/Scripts/Editor/UIExtensionsMenuOptions.cs +++ b/Scripts/Editor/UIExtensionsMenuOptions.cs @@ -362,7 +362,8 @@ namespace UnityEditor.UI image.type = Image.Type.Sliced; image.color = s_DefaultSelectableColor; - UIButton bt = uiButtonRoot.AddComponent(); + Button bt = uiButtonRoot.AddComponent