コード例 #1
0
    public void Init(ObjetoBase objeto, CustomAnchor main)
    {
        base.Init(main);

        em = (ExploracionMetodo)Manager.Instance.GetMenu("ExploracionMetodo");
        eo = (ExploracionObjeto)Manager.Instance.GetMenu("ExploracionObjeto");

        this.objeto             = objeto;
        Interaction.OnGraspEnd += (() => Release());
        textoPanelSuperior.text = cabecera;
    }
コード例 #2
0
    // Start is called before the first frame update
    public void Init()
    {
        e = (ExploracionMetodo)Manager.Instance.GetMenu("ExploracionMetodo");

        if (name == "MenuRead")
        {
            foreach (TMP_InputField t in inputs)
            {
                t.gameObject.SetActive(false);
            }
        }

        Clear();
    }