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.

14 lines
315B

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