Skip to content

Commit b622af0

Browse files
Merge pull request #1802 from Microsoft/Document-Changes
UX Document Fixes
2 parents c36e9e2 + cf5cd9a commit b622af0

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

Assets/HoloToolkit/UX/README.md

+8-10
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
Useful common UX controls that you can leverage in your application.
44

5-
6-
75
### [Materials](Materials)
86

97
Materials used in prefabs
@@ -12,7 +10,7 @@ Materials used in prefabs
1210

1311
Material for 3DTextPrefab with occlusion support. Requires 3DTextShader.shader
1412

15-
![Default Font material vs 3DTextSegoeUI material](https://github.com/cre8ivepark/HoloToolkit-Unity/blob/master/External/ReadMeImages/TextPrefabInstructions06.png)
13+
![Default Font material vs 3DTextSegoeUI material](../../../External/ReadMeImages/TextPrefabInstructions06.png)
1614

1715
### [Prefabs](Prefabs)
1816

@@ -28,19 +26,19 @@ UI Text Mesh prefab with optimized scaling factor at 2-meter distance. (Please r
2826

2927
**IMPORTANT: Text Prefab uses open source font 'Selawik'. To use Text Prefab with different font, please import font file and follow the instruction below. Below example shows how to use 'Segoe UI' font with Text Prefab.**
3028

31-
![Importing Segoe UI font file](https://github.com/cre8ivepark/HoloToolkit-Unity/blob/master/External/ReadMeImages/TextPrefabInstructions01.png)
29+
![Importing Segoe UI font file](../../../External/ReadMeImages/TextPrefabInstructions01.png)
3230

3331
1. Assign font texture to 3DTextSegoeUI.mat material.
34-
![Assigning font texture](https://github.com/cre8ivepark/HoloToolkit-Unity/blob/master/External/ReadMeImages/TextPrefabInstructions02.png)
32+
![Assigning font texture](External/ReadMeImages/TextPrefabInstructions02.png)
3533

3634
2. On 3DTextSegoeUI.mat material, select the shader Custom/3DTextShader.shader.
37-
![Assigning shader](https://github.com/cre8ivepark/HoloToolkit-Unity/blob/master/External/ReadMeImages/TextPrefabInstructions03.png)
35+
![Assigning shader](../../../External/ReadMeImages/TextPrefabInstructions03.png)
3836

3937
3. Assign Segoe UI font and 3DTextSegoeUI material to the text components in the prefabs.
40-
![Assigning font file and material](https://github.com/cre8ivepark/HoloToolkit-Unity/blob/master/External/ReadMeImages/TextPrefabInstructions04.png)
38+
![Assigning font file and material](../../../External/ReadMeImages/TextPrefabInstructions04.png)
4139

42-
4. Follow the same steps for the sample text layout prefabs in [HoloToolkit-Examples\Text](../..//HoloToolkit-Examples/Text)
43-
![Sample layout prefabs](https://github.com/cre8ivepark/HoloToolkit-Unity/blob/master/External/ReadMeImages/TextPrefabInstructions05.png)
40+
4. Follow the same steps for the sample text layout prefabs in [HoloToolkit-Examples\Text](../../HoloToolkit-Examples/UX/Prefabs)
41+
![Sample layout prefabs](../../../External/ReadMeImages/TextPrefabInstructions05.png)
4442

4543
**Working with Fonts in Unity**
4644

@@ -60,7 +58,7 @@ When adding a UI or canvas based Text element to a scene, the size disparity is
6058

6159
**Disclaimer**: The default value of any font may be effected by the texture size of that font or how the font was imported into Unity. These tests were performed based on the default Arial font in Unity, as well as one other imported font.
6260

63-
![Font size with scaling factors](https://github.com/cre8ivepark/HoloToolkit-Unity/blob/master/External/ReadMeImages/TextPrefabInstructions07.png)
61+
![Font size with scaling factors](../../../External/ReadMeImages/TextPrefabInstructions07.png)
6462

6563
### [Scripts](Scripts)
6664

0 commit comments

Comments
 (0)