feat: GameManagerExtensions.InstantiateGameObject
This commit is contained in:
parent
dbb263ebed
commit
2f043c19a6
9
Engine.Core/Extensions/GameManagerExtensions.cs
Normal file
9
Engine.Core/Extensions/GameManagerExtensions.cs
Normal file
@ -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…
x
Reference in New Issue
Block a user