mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 13:11:53 +00:00
Copy scene when entering play mode
This commit is contained in:
@@ -66,6 +66,12 @@ namespace GlitchyEngine.World
|
||||
|
||||
public UUID UUID => GetComponent<IDComponent>().ID;
|
||||
|
||||
public StringView Name
|
||||
{
|
||||
get => GetComponent<NameComponent>().Name;
|
||||
set => GetComponent<NameComponent>().Name = value;
|
||||
}
|
||||
|
||||
public TransformComponent* Transform => GetComponent<TransformComponent>();
|
||||
|
||||
public T* AddComponent<T>(T value = T()) where T: struct, new
|
||||
|
||||
Reference in New Issue
Block a user