示例#1
0
 protected override void setReferences()
 {
     base.setReferences();
     // GetComponentInParent also checks the current GameObject (as per the current prefab)
     parentWindow = GetComponentInParent <DogBrowser>();
 }
示例#2
0
 public void Init(DogBrowser browser)
 {
     this.parentWindow = browser;
     setupButtons();
     IsInitialized = true;
 }