feat: GameObject Extensions

This commit is contained in:
Syntriax 2024-01-30 12:54:34 +03:00
parent 07666359f2
commit fa7eeed267
1 changed files with 12 additions and 0 deletions

View File

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