Exemplo n.º 1
0
    void Start()
    {
        itemLibrary = GetComponent <ItemLibrary>();
        itemLibrary.Initialize();

        itemManager            = new ItemManager(this, dropItemPool, dropItemPoolSize);
        worldObjectManager     = new WorldObjectManager(this, worldObjectTemplateList, worldObjectPool, worldObjectPoolSize);
        characterObjectManager = new CharacterObjectManager(this, characterObjectTemplateList, characterObjectPool, characterObjectPoolSize);

        uiManager = new UIManager(this);
    }