namespace
parent
16df45eea3
commit
57cb33cca7
|
@ -1,5 +1,5 @@
|
||||||
using UnityEngine;
|
namespace UnityEngine.UI.Extensions
|
||||||
|
{
|
||||||
public static class ExtentionMethods
|
public static class ExtentionMethods
|
||||||
{
|
{
|
||||||
public static T GetOrAddComponent<T>(this GameObject child) where T : Component
|
public static T GetOrAddComponent<T>(this GameObject child) where T : Component
|
||||||
|
@ -12,3 +12,4 @@ public static class ExtentionMethods
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue