EntitasSaveLoader/Assets/Sources/Utility/EntitySaveLoader.cs
/// <summary>
/// only make new Entity. not add components
/// </summary>
only make new Entity. not add components
only make new Entity . not add components
private IEntity MakeEntityByContext(EntityTemplate EntityTemplate, Contexts contexts)
    {
        System.Diagnostics.Debug.WriteLine($"entityInfo.ContextType : {EntityTemplate.Context}");
        IEntity newEntity = null;
        switch (EntityTemplate.Context)
        {
            case "Game":
                newEntity = contexts.game.CreateEntity();
                break;
            default:
                throw new Exception($" {EntityTemplate.Context} is not support type. if you have atribute, add it EntitySaveLoaderMakeEntityByContext() ");
        }
        return newEntity;
    }
private IEntity MakeEntityByContext ( EntityTemplate EntityTemplate , Contexts contexts ) { System . Diagnostics . Debug . WriteLine ( $" entityInfo.ContextType :  { EntityTemplate . Context } " ) ; IEntity newEntity = null ; switch ( EntityTemplate . Context ) { case " " : newEntity = contexts . game . CreateEntity ( ) ; break ; default : throw new Exception ( $" { EntityTemplate . Context }  is not support type. if you have atribute, add it EntitySaveLoaderMakeEntityByContext()  " ) ; } return newEntity ; }
only make new Entity.
only make new Entity .
/*case "Input":
                newEntity = contexts.input.CreateEntity();
                break;
            case "Ui":
                newEntity = contexts.ui.CreateEntity();
            break;*/
EntityTemplate
EntityTemplate
contexts
Contexts