This commit is contained in:
parent
76e2629916
commit
828be493ff
|
@ -4,6 +4,10 @@ using UnityEngine;
|
||||||
using UnityEngine.UIElements;
|
using UnityEngine.UIElements;
|
||||||
namespace BITKit.UX
|
namespace BITKit.UX
|
||||||
{
|
{
|
||||||
|
public static class UXContainerExtensions
|
||||||
|
{
|
||||||
|
public static UXContainer AsContainer(this VisualElement visualElement) => new UXContainer(visualElement);
|
||||||
|
}
|
||||||
public class UXContainer
|
public class UXContainer
|
||||||
{
|
{
|
||||||
public static implicit operator VisualElement(UXContainer self) => self.visualElement;
|
public static implicit operator VisualElement(UXContainer self) => self.visualElement;
|
||||||
|
|
Loading…
Reference in New Issue