예제 #1
0
 void Start()
 {
     parent = GetComponentInParent <SfbDropMenu>();
     GetComponent <Button>().onClick.AddListener(Click);
 }
예제 #2
0
 void Start()
 {
     parent = GetComponentInParent<SfbDropMenu>();
     GetComponent<Button>().onClick.AddListener(Click);
 }