Tag:know for the first time

  • Calculate font width and text component adaptation

    Time:2021-9-19

    using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ChatView : MonoBehaviour { #region RectTransform private RectTransform ChatContent; #endregion #region GameObject private GameObject LeftChatObj; private GameObject RightChatObj; #endregion private void Awake() { InitGetComponent(); } private void Start() { Test(); } private void InitGetComponent() { #region RectTransform […]