Script default values after init, Fix memory leak, Copy Script values on Play

This commit is contained in:
Simon Lübeß
2023-05-31 14:38:07 +02:00
parent 6a59deb9e2
commit f4607a6210
8 changed files with 130 additions and 30 deletions
+4 -3
View File
@@ -1,6 +1,8 @@
using System;
namespace GlitchyEngine.Core;
public class EngineObject
public abstract class EngineObject
{
protected internal UUID _uuid;
@@ -12,8 +14,7 @@ public class EngineObject
/// <summary>
/// Empty constructor not used. Do NOT USE!
/// </summary>
protected EngineObject()
{}
protected EngineObject() { }
/// <summary>
/// Creates a new EngineObject with the given ID.