Scripting: Basic copying of entities during runtime + Reference Components using UUID

This commit is contained in:
Simon Lübeß
2023-09-21 14:23:00 +02:00
parent ba54d48dfe
commit 446dc2ca2a
7 changed files with 175 additions and 43 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ using GlitchyEngine.Core;
namespace GlitchyEngine;
public abstract class Component
public abstract class Component : EngineObject
{
public Entity Entity { get; internal set; }
public Entity Entity => new(_uuid);
}