using UnityEngine; using System.Collections; using UnityEngine.UI; public class PassParameter : MonoBehaviour { public Text dropdownName; void Start () { } public void ShowName(bool a ) { dropdownName.text= transform.Find("Item Label").GetComponent().text; } void Update () { } }