Exemplo n.º 1
0
    public override void Open(VoosActor actor, Dictionary <string, object> props)
    {
        base.Open(actor, props);

        this.actor = actor;

        ui.stripes.gameObject.SetActive(true);
        ui.imageField.gameObject.SetActive(false);
        actor.GetThumbnail((thumbnail) =>
        {
            ui.stripes.gameObject.SetActive(false);
            ui.imageField.gameObject.SetActive(true);
            ui.imageField.texture = thumbnail;
        });

        UpdateAllFields();
    }