WIP: UI system, containers and widgets.
This commit is contained in:
@@ -18,6 +18,11 @@ namespace Voile
|
||||
/// </summary>
|
||||
public T Value => ResourceManager.GetResource<T>(Guid);
|
||||
|
||||
public static ResourceRef<T> Empty()
|
||||
{
|
||||
return new ResourceRef<T>(Guid.Empty);
|
||||
}
|
||||
|
||||
public ResourceRef(Guid guid)
|
||||
{
|
||||
Guid = guid;
|
||||
|
||||
Reference in New Issue
Block a user