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