feat: GameManagerExtensions.InstantiateGameObject

This commit is contained in:
Syntriax 2024-02-05 12:09:54 +03:00
parent dbb263ebed
commit 2f043c19a6
1 changed files with 9 additions and 0 deletions

View 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);
}