diff --git a/Engine.Core/Extensions/GameObjectExtensions.cs b/Engine.Core/Extensions/GameObjectExtensions.cs new file mode 100644 index 0000000..6f33618 --- /dev/null +++ b/Engine.Core/Extensions/GameObjectExtensions.cs @@ -0,0 +1,12 @@ +using Syntriax.Engine.Core.Abstract; + +namespace Syntriax.Engine.Core; + +public static class GameObjectExtensions +{ + public static IGameObject SetGameObject(this IGameObject gameObject, string name) + { + gameObject.Name = name; + return gameObject; + } +}