以下の表では、スプライトアセットプロパティの設定項目について説明しています。
プロパティ | 説明 | |
---|---|---|
Update Sprite Asset | 最新の スプライトエディター の変更とスプライトアセットを同期します。 | |
SpriteAtlas | スプライトアセットのソーステクスチャへの参照。 | |
Default Material | スプライトのレンダリングに使用する、スプライトアセットのマテリアルへの参照。 | |
Fallback Sprite Asset List | グリフがこのスプライトアセットに存在しない場合、TextCore はフォールバックスプライトアセットリストからその欠けているグリフを探します。これがローカルフォールバックリストです。ローカルフォールバックリストは、Panel Text Settings アセットのグローバルフォールバックリストよりも優先されます。フォールバックリストにはスプライトアセットを追加または削除できます。また、スプライトアセットの左側にあるハンドルをドラッグして、リストを並べ替えることもできます。 | |
Sprite Character Table | このアセット内のスプライトを管理します。 スプライトをクリックすると、そのスプライトがアクティブになります。 Up または Down をクリックすると、リスト内でスプライトを上下に移動できます。 特定の位置にスプライトを移動するには、テキストフィールドに移動したい位置のインデックス ID を入力し、Goto をクリックします。 ノート: スプライトを移動すると、そのスプライトのインデックス ID が更新され、それに応じて先行するスプライトのインデックス ID も更新されます。 + をクリックすると、スプライトのコピーがリストに追加されます。 - をクリックすると、リストからスプライトが削除されます。 |
|
Index | スプライトの一意のインデックス ID はリスト内の位置に基づいています。 これを使用して、 <sprite> リッチ テキストタグ 内のスプライトを参照できます。 |
|
Unicode | スプライトの Unicode。詳細については、スプライトに Unicode を割り当てて使用する を参照してください。 | |
Name | スプライトの一意の名前。<sprite> リッチテキストタグ でスプライトを参照する際に使用します。 |
|
Sprite Glyph Rect | このアセットのグリフを管理します。 | |
X, Y, W, H | キャラクターがスプライトアトラスで占める長方形の領域。 | |
Global Offsets & Scale | アセット内のすべてのスプライトのオフセットとスケール設定。 | |
OX, OY | スプライトの配置を制御し、ベースライン上の原点を基準としてスプライトの左上隅を定義します。 | |
ADV | 次のスプライトを配置するために、ベースラインに沿ってどれだけ前進させるか。 | |
SF | スプライトのサイズを調整します。 |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.