Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

unity2019支持问题 #48

@uncleciba

Description

@uncleciba

以前在unity2018上用的很好,2019出现严重问题:
2019的unity中,OnPopulateMesh(VertexHelper toFill)方法的toFill内容发生变化。

2018中,toFill里vertex的个数是原始字符串的4倍,例如,原始字符串是123,vertex就有104个。
2019中,vertex只有4
4个,也就是“翻译”后实际的顶点个数
而目前quad位置的对应算法是:tempIndex = _textBuilder.Length * 4;
是按原始字符串长度算了。
这导致后续的顶点处理都出现了错误。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions