Exemple #1
0
 public void Call(Framework.BaseUi param0)
 {
     func.BeginPCall();
     func.Push(param0);
     func.PCall();
     func.EndPCall();
 }
Exemple #2
0
        protected void Start()
        {
            _Cap        = transform.Find("Cap").GetComponent <EventUi>();
            _Panel      = transform.Find("Panel").GetComponent <BaseUi>();
            _PanelImage = _Panel.GetComponent <Image>();

            _Cap.DragE.AddListener(OnCapDrag);
            _Cap.EndDragE.AddListener(OnCapEndDrag);
            _Cap.BeginDragE.AddListener(OnCapBeginDrag);
            _Cap.PointerClickE.AddListener(OnCapPointerClick);
            _Cap.PointerDownE.AddListener(OnCapPointerDown);
            _Cap.PointerUpE.AddListener(OnCapPointerUp);

            _ImageMaterial       = new Material(_PanelImage.material);
            _PanelImage.material = _ImageMaterial;
        }