Ejemplo n.º 1
0
    public void CreateEnemyView(int value)
    {
        NumberView eView = Instantiate <NumberView>(ViewPrefab, EnemiesViewsPanel);

        eView.Setup(value, NumberView.ViewType.Enemy);
        EnemiesViews.Add(eView);
    }
Ejemplo n.º 2
0
    public void CreateAllyView(int value)
    {
        NumberView aView = Instantiate <NumberView>(AllyViewPrefab, AlliesViewsPanel);

        aView.Setup(value, NumberView.ViewType.Ally);
        AlliesViews.Add(aView);
    }