using System.Collections; using System.Collections.Generic; using System.Diagnostics; using UnityEngine; using Debug = UnityEngine.Debug; public class New_GonghuiInfo : UnionDetail17 { public UnionDataInPage body; public UnionDataInPage Body { [DebuggerStepThrough] get => body; [DebuggerStepThrough] set { body = value; Debug.Log(body.Name); richText.Text = body.Slogan; Debug.Log(richText.Text); } } public RichText richText; }