コード例 #1
0
 // Start is called before the first frame update
 void Start()
 {
     m_CommonButton = GameObject.Find("ButtonManager").GetComponent <CommonButton>();
     this.GetComponent <Button>().onClick.AddListener(delegate { m_CommonButton.StartButtonDown(); });
 }