Example #1
0
        //new reflection
        protected override void RegisterPorts()
        {
            if (field == null)
            {
                return;
            }

            reflectedFieldNode = BaseReflectedFieldNode.GetFieldNode(field);
            if (reflectedFieldNode != null)
            {
                reflectedFieldNode.RegisterPorts(this, accessMode);
            }
        }
Example #2
0
        //new reflection
        protected override void RegisterPorts()
        {
            if (field == null)
            {
                return;
            }

            reflectedFieldNode = BaseReflectedFieldNode.GetFieldNode(field);
            if (reflectedFieldNode != null)
            {
#if UNITY_EDITOR
                //SL--
                customColor = ColorUtils.HexToColor(accessMode == AccessMode.SetField ? "285b7c" : "3a7962");
#endif
                reflectedFieldNode.RegisterPorts(this, accessMode);
            }
        }