Exemplo n.º 1
0
    private void Start()
    {
        _initData.gameOverActive.member = false;

        _initData.pauseMenuActive.member = false;

        _initData.debugMenuActive.member = false;

        _initData.SetEnemyTarget(null);

        RuntimeData runtime = _instanceRuntimeData ? new RuntimeData(_initData) : _initData;

        GameEvents.InvokeNewRuntime(runtime);
    }
Exemplo n.º 2
0
 private void OnMouseOver()
 {
     _runtime.SetEnemyTarget(this);
 }