// Use this for initialization void Start() { m_ui = GetComponent <TouchPadChangUI>(); //m_ui.m_eventList.Add(OnFHZCD); m_ui.m_eventList.Add(OnFHDT); m_ui.m_eventList.Add(OnZJ); m_ui.m_eventList.Add(OnCMJ); cam_eye = GameObject.Find("Camera (eye)"); }
void Start() { m_ui = GetComponent <TouchPadChangUI>(); m_ui.m_eventList.Add(OnZNCM); m_ui.m_eventList.Add(OnJXMY); m_ui.m_eventList.Add(OnSBCK); m_ui.m_eventList.Add(OnXJSYY); m_ui.m_eventList.Add(OnTCXT); m_ui.m_eventList.Add(ONFHDT); m_ui.m_eventList.Add(ONXSSLT); }
// Update is called once per frame void Update() { m_UI = UIMgr.mgr.m_ui; }