feat: GameManagerExtensions.InstantiateGameObject
This commit is contained in:
parent
dbb263ebed
commit
2f043c19a6
|
@ -0,0 +1,9 @@
|
|||
using Syntriax.Engine.Core.Abstract;
|
||||
|
||||
namespace Syntriax.Engine.Core;
|
||||
|
||||
public static class GameManagerExtensions
|
||||
{
|
||||
public static IGameObject InstantiateGameObject(this IGameManager gameManager, params object?[]? args)
|
||||
=> gameManager.InstantiateGameObject<GameObject>(args);
|
||||
}
|
Loading…
Reference in New Issue