Esempio n. 1
0
 void OnRectTransformDimensionsChange()
 {
     centerPanel = GameObject.FindObjectOfType <CenterPanelScript> ();
     UpdateLayout();
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     centerPanel = GameObject.FindObjectOfType <CenterPanelScript> ();
     UpdateLayout();
 }