Exemplo n.º 1
0
    void Awake()
    {
        Ins = this;
        //if (!InitGlobalIns()) return;
        GlobalManager.AddToDisabledObjContainer(this);

        GameEventSignals.OnEnemySpawned    += OnEnemySpawned;
        GameEventSignals.OnSceneConfigured += OnSceneConfigured;
    }
Exemplo n.º 2
0
    void Awake()
    {
        Ins = this;
        //if (!InitGlobalIns()) return;
        GlobalManager.AddToDisabledObjContainer(this);

        SceneManager.sceneLoaded += OnSceneLoaded;
        InspectorEventSignals.OnSpawnEnemyInspectorUpdated += OnSpawnEnemyInspectorUpdated;
        GameEventSignals.OnSceneConfigured += OnSceneConfigured;
    }
Exemplo n.º 3
0
    void Awake()
    {
        if (!InitGlobalIns())
        {
            return;
        }
        GlobalManager.AddToDisabledObjContainer(this);

        SceneManager.sceneLoaded += OnSceneLoaded;
    }