Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
275B

  1. using UnityEngine;
  2. namespace Svelto.Factories
  3. {
  4. public interface IGameObjectFactory
  5. {
  6. void RegisterPrefab(GameObject prefab, string type, GameObject parent = null);
  7. GameObject Build(string type);
  8. GameObject Build(GameObject prefab);
  9. }
  10. }