示例#1
0
        public bool HasEditorError()
        {
            if (BinderUtil.IsUnityEventHasError(_onValueChangeEvent))
            {
                return(true);
            }
            if (BinderUtil.IsUnityEventHasError(_onValueTrueEvent))
            {
                return(true);
            }
            if (BinderUtil.IsUnityEventHasError(_onValueFalseEvent))
            {
                return(true);
            }

            return(false);
        }
示例#2
0
        public bool HasEditorError()
        {
            if (_eventSettings == null || _eventSettings.Count == 0)
            {
                return(true);
            }

            if (_eventSettings.Any(s => s == null || BinderUtil.IsUnityEventHasError(s.Event)))
            {
                return(true);
            }

            if (GetComponent <Graphic>() == null)
            {
                return(true);
            }

            return(false);
        }
示例#3
0
        public bool HasEditorError()
        {
            if (_elementBinder == null)
            {
                return(true);
            }

            if (_elementType == ArrayElementTypeEnum.Custom &&
                TypeUtil.GetTypeWithAssemblyTypeString(_customElementTypeString) == null)
            {
                return(true);
            }

            if (BinderUtil.IsUnityEventHasError(_afterReceiveEvent))
            {
                return(true);
            }

            return(false);
        }