//new reflection protected override void RegisterPorts() { if (field == null) { return; } reflectedFieldNode = BaseReflectedFieldNode.GetFieldNode(field); if (reflectedFieldNode != null) { reflectedFieldNode.RegisterPorts(this, accessMode); } }
//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); } }