13 lines
273 B
C#
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;
|
||
|
}
|
||
|
}
|