From 07ec98c989bdbb150f394ab57a23de39e3b3a8ca Mon Sep 17 00:00:00 2001 From: Simon Jackson Date: Sun, 22 Jan 2023 17:26:01 +0000 Subject: [PATCH] Fix class spellings and update MultiTouchScrollRect --- Runtime/Scripts/Controls/MultiTouchScrollRect.cs | 1 - .../Utilities/{ExtentionMethods.cs => ExtensionMethods.cs} | 2 +- .../{ExtentionMethods.cs.meta => ExtensionMethods.cs.meta} | 0 3 files changed, 1 insertion(+), 2 deletions(-) rename Runtime/Scripts/Utilities/{ExtentionMethods.cs => ExtensionMethods.cs} (93%) rename Runtime/Scripts/Utilities/{ExtentionMethods.cs.meta => ExtensionMethods.cs.meta} (100%) diff --git a/Runtime/Scripts/Controls/MultiTouchScrollRect.cs b/Runtime/Scripts/Controls/MultiTouchScrollRect.cs index eafa050..658a16c 100644 --- a/Runtime/Scripts/Controls/MultiTouchScrollRect.cs +++ b/Runtime/Scripts/Controls/MultiTouchScrollRect.cs @@ -1,7 +1,6 @@ /// Credit Erdener Gonenc - @PixelEnvision /*USAGE: Simply use that instead of the regular ScrollRect */ - namespace UnityEngine.UI.Extensions { [AddComponentMenu ("UI/Extensions/MultiTouchScrollRect")] diff --git a/Runtime/Scripts/Utilities/ExtentionMethods.cs b/Runtime/Scripts/Utilities/ExtensionMethods.cs similarity index 93% rename from Runtime/Scripts/Utilities/ExtentionMethods.cs rename to Runtime/Scripts/Utilities/ExtensionMethods.cs index 07da566..fb20ec0 100644 --- a/Runtime/Scripts/Utilities/ExtentionMethods.cs +++ b/Runtime/Scripts/Utilities/ExtensionMethods.cs @@ -2,7 +2,7 @@ namespace UnityEngine.UI.Extensions { - public static class ExtentionMethods + public static class ExtensionMethods { public static T GetOrAddComponent(this GameObject child) where T : Component { diff --git a/Runtime/Scripts/Utilities/ExtentionMethods.cs.meta b/Runtime/Scripts/Utilities/ExtensionMethods.cs.meta similarity index 100% rename from Runtime/Scripts/Utilities/ExtentionMethods.cs.meta rename to Runtime/Scripts/Utilities/ExtensionMethods.cs.meta