Skip to content

Related to the IItemLoader interface #1

@ntl92bk

Description

@ntl92bk

I think the IItemLoader interface should be:

public interface IItemLoader<T> {
        T SpawnItem();
        void DeSpawnItem(T instance);
}

You should not pass a prefab into the spawn item method, it leaks the logic how to create an item (from a prefab)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions