protected override void Awake() { base.Awake(); DefaultUGUIFontSettings = new FontSettings(textPool.GetOriginal); DefaultUGUIFontSettings.anchor = TextAnchor.UpperCenter; DefaultUGUIFontSettings.showAnimation =new UIAnimation((part, t)=> { part.transform.localScale = Vector3.LerpUnclamped(Vector3.zero, Vector3.one, Easing.OutBack(t)); part.transform.TranslateY(50.0f * Time.deltaTime); }); DefaultUGUIFontSettings.hideAnimation = UIAnimationUtil.DefaultHideAnimation; DefaultUGUIFontSettings.showAnimationTime = 0.5f; DefaultUGUIFontSettings.limitLife = 0.3f; DefaultUGUIFontSettings.hideAnimationTime = 0.5f; Default3DFontSettings = new FontSettings(textMeshPool.GetOriginal); if (uiCamera == null) uiCamera = Camera.main; }