Start of inheriting Materials, create material instance for getMaterial from scripts

This commit is contained in:
Simon Lübeß
2025-02-14 12:39:35 +01:00
parent aaed4199d3
commit 24295731f3
6 changed files with 66 additions and 17 deletions
+9
View File
@@ -25,4 +25,13 @@ public abstract class EngineObject
{
_uuid = uuid;
}
/// <summary>Determines whether the specified <see cref="EngineObject"/> is equal to the current <see cref="EngineObject"/>.</summary>
/// <param name="other">The object to compare with the current object.</param>
/// <returns>true if the specified object is equal to the current object; otherwise, false.</returns>
public bool Equals(EngineObject other)
{
// TODO: Are we really only interested in what equates to reference equality on the engine side?
return _uuid == other._uuid;
}
}