public void Awake() { md = GameObject.Find("MenuDial").gameObject.GetComponent<MenuDial>(); warningPanel = GameObject.Find("Warning"); warningLoc = warningPanel.GetComponent<RectTransform>().anchoredPosition; optionsPanel = GameObject.Find("Options"); optionsLoc = optionsPanel.GetComponent<RectTransform>().anchoredPosition; }
public void Awake() { md = GameObject.Find("MenuDial").gameObject.GetComponent<MenuDial>(); }
public void Awake() { md = GameObject.Find("MenuDial").gameObject.GetComponent <MenuDial>(); }
public void Awake() { md = GameObject.Find("MenuDial").gameObject.GetComponent <MenuDial>(); Debug.Log("dial null? : " + md == null); }
public void Awake() { md = GameObject.Find("MenuDial").gameObject.GetComponent<MenuDial>(); Debug.Log("dial null? : " + md == null); }