// default functions public void CreateName(LeaderBoardData lbd) { UpdateColor(lbd.col); data = lbd; if (A.FollowType != FollowType.None) { hwp = go.Gc <HWP>(); if (hwp) { hwp.info.arrow.size = Screen.width * 0.06f; HWPManager.instance.TextStyle.fontSize = M.RoundInt(Screen.width * 0.06f); HWPManager.instance.TextStyle.contentOffset = Vector2.up * -(Screen.width * 0.06f * 1.6f); hwp.info.text = A.GC.isNameUppercase ? data.name.ToUpper() : data.name; hwp.info.color = data.col; hwp.info.character = this; } if (A.FollowType == FollowType.Follow || A.FollowType == FollowType.FollowPointer) { Follow follow = Crt.Go <Follow>(Resources.Load <GameObject>("Main/FollowName"), new Tf(transform.position), "", A.GC.transform); follow.followTf = transform; followTmp = follow.Child <TextMeshPro>(0); if (followTmp) { followTmp.text = A.GC.isNameUppercase ? data.name.ToUpper() : data.name; followTmp.color = data.col; } } } }