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

13 lines
273 B
C#
Raw Normal View History

2024-01-30 12:54:34 +03:00
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;
}
}