コード例 #1
0
    public void Show(Selectable selectable)
    {
        CleanUI();

        GameObject block = UIController.instance.SelectedBlock;

        gameObject.SetActive(true);
        nameText.text = block.name;

        selectable
        .GetInteractions()
        .ForEach((interaction) => interaction.AddUI(blockStatusPanel));
    }