public void SetVerticesOnlyDirty() { ChagneType last = CurrentChangeType; NovelText.SetVerticesDirty(); if (last != ChagneType.All) { CurrentChangeType = ChagneType.VertexOnly; } }
//頂点情報を作成 void LateUpdate() { //文字送りなどは、頂点のみ作り直せばいいので //少し複雑だけど、こうする bool changed = HasChanged; if (HasChangedLitte) { NovelText.SetVerticesDirty(); } if (changed) { ClearGraphicObjectList(); Refresh(); } HasChangedLitte = false; HasChanged = false; //絵文字など子オブジェクトとして表示するグラフィックを更新 UpdateGraphicObjectList(lineDataList); }