From d775479bde9c52fed5825798bbb41d4a1c87fd08 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 1 Aug 2014 23:51:59 +0900 Subject: [PATCH] Make the GameObject extensions internal. So I don't have to document them. --- Source/CommonAPI/GameObjectExt.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/CommonAPI/GameObjectExt.cs b/Source/CommonAPI/GameObjectExt.cs index c7fdba57..d7422f8a 100644 --- a/Source/CommonAPI/GameObjectExt.cs +++ b/Source/CommonAPI/GameObjectExt.cs @@ -6,14 +6,14 @@ using KSP.IO; namespace KSPAPIExtensions { - public static class GameObjectExtension + internal static class GameObjectExtension { - public static T AddTaggedComponent (this GameObject go) where T : Component + internal static T AddTaggedComponent (this GameObject go) where T : Component { Type taggedType = SystemUtils.VersionTaggedType(typeof(T)); return (T)go.AddComponent(taggedType); } - public static T GetTaggedComponent (this GameObject go) where T : Component + internal static T GetTaggedComponent (this GameObject go) where T : Component { Type taggedType = SystemUtils.VersionTaggedType(typeof(T)); return (T)go.GetComponent(taggedType);