EricCai1991

Results 13 comments of EricCai1991

分支2.0为什么获取到的宽高都是错的。。。

public override void SetVerticesDirty() { base.SetVerticesDirty(); if (!_inlineManager) { _inlineManager = GetComponentInParent(); if(!_inlineManager) _outputText = m_Text; return; } var settings = GetGenerationSettings(Vector2.zero); //设置新文本 _outputText = GetOutputText(); } 在InlineText.cs文件,修改这里,直接赋值之后拿宽高,发现_inlineManager根本还没初始化,所以一直拿到的是初始的text

I have the same problem, any solution for this ?