Syntriax.Engine/Engine.Core/Extensions/GameObjectExtensions.cs

13 lines
273 B
C#

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;
}
}