Exemplo n.º 1
0
    public void RemoveActor(InfActor actor)
    {
        var actorsList = actors.ToList();

        actorsList.Remove(actor);
        actors = actorsList.ToArray();
    }
Exemplo n.º 2
0
    public void AddActor(InfActor actor)
    {
        var actorsList = actors.ToList();

        actorsList.Add(actor);
        actors = actorsList.ToArray();
    }