public static void Load(ModelEvents _me, Vector2 _v2Position) { if (s_instance == null) { GameObject v_go = Instantiate(Resources.Load("RightMenuEvent/ModelEventsManager")) as GameObject; ModelEventsManager v_mem = v_go.GetComponent <ModelEventsManager>(); } s_instance.Load(_me, _v2Position); }
public void OnPointerClick(PointerEventData eventData) { Debug.Log("<b>屏幕位置</b>" + Get屏幕位置(eventData)); ModelEventsManager.Load(this, Get屏幕位置(eventData)); }