Skip to content

Commit 0e7a071

Browse files
committed
Fix example links in README.md
1 parent 356989b commit 0e7a071

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private Animation exampleAnimation;
5050
private string animationName;
5151
```
5252

53-
[Examples of attribute usage](../master/Source/Examples/AnimationName)
53+
[Examples of attribute usage](../master/Runtime/Examples/AnimationName)
5454

5555
### Caveats
5656
Unity manages clips internally specifically so for some reason order of clips returned by [AnimationUtility.GetAnimationClips](https://docs.unity3d.com/ScriptReference/AnimationUtility.GetAnimationClips.html) differs from the one displayed in the editor for Animation comoponent. Due to this expect different order of items in dropdown list for attribute.
@@ -72,7 +72,7 @@ private Animator exampleAnimator;
7272
private string exampleLayerName;
7373
```
7474

75-
[Examples of attribute usage](../master/Source/Examples/AnimatorLayerName)
75+
[Examples of attribute usage](../master/Runtime/Examples/AnimatorLayerName)
7676

7777
## AnimatorParameterName
7878
![screencast](Documentation/animator-parameter-name-example.png)
@@ -92,7 +92,7 @@ private Animator exampleAnimator;
9292
private string exampleFloatParameterName;
9393
```
9494

95-
[Examples of attribute usage](../master/Source/Examples/AnimatorParameterName)
95+
[Examples of attribute usage](../master/Runtime/Examples/AnimatorParameterName)
9696

9797
## AnimatorStateName
9898
![screencast](Documentation/animator-state-name-example.gif)
@@ -112,7 +112,7 @@ private Animator exampleAnimator;
112112
private string exampleStateName;
113113
```
114114

115-
[Examples of attribute usage](../master/Source/Examples/AnimatorStateName)
115+
[Examples of attribute usage](../master/Runtime/Examples/AnimatorStateName)
116116

117117
### Caveats
118118
Since layer index is [decoupled](https://docs.unity3d.com/ScriptReference/Animator.Play.html) from animator state name in Unity API, state name alone does not determine state and state index value should be managed separately. If only one animation layer is used, it's not the problem and `Play(string stateName)` overload can be used safely for fields using `AnimatorStateName` attribute.
@@ -133,7 +133,7 @@ private string spriteProjectPath02;
133133
private string spriteResourcesPath02;
134134
```
135135

136-
[Examples of attribute usage](../master/Source/Examples/AssetPath)
136+
[Examples of attribute usage](../master/Runtime/Examples/AssetPath)
137137

138138
## GameObjectLayer
139139
![screencast](Documentation/game-object-layer-example.png)
@@ -144,7 +144,7 @@ Add attribute to int field to enable selection of game object layer value from d
144144
[SerializeField, GameObjectLayer]
145145
private int exampleLayer;
146146
```
147-
[Examples of attribute usage](../master/Source/Examples/GameObjectLayer)
147+
[Examples of attribute usage](../master/Runtime/Examples/GameObjectLayer)
148148

149149
## GameObjectTag
150150
![screencast](Documentation/game-object-tag-example.png)
@@ -155,7 +155,7 @@ Add attribute to string field to enable selection of game object tag value from
155155
[SerializeField, GameObjectTag]
156156
private string exampleTag;
157157
```
158-
[Examples of attribute usage](../master/Source/Examples/GameObjectTag)
158+
[Examples of attribute usage](../master/Runtime/Examples/GameObjectTag)
159159

160160
## ScenePath
161161
![screencast](Documentation/scene-path-example.png)
@@ -177,7 +177,7 @@ private string exampleScenePath03;
177177
private string exampleScenePath04;
178178
```
179179

180-
[Examples of attribute usage](../master/Source/Examples/ScenePath)
180+
[Examples of attribute usage](../master/Runtime/Examples/ScenePath)
181181

182182
## SortingLayerName
183183
![screencast](Documentation/sorting-layer-name-example.png)
@@ -189,7 +189,7 @@ Add attribute to string field to enable selection of sorting layer name value fr
189189
private string exampleSortingLayerName;
190190
```
191191

192-
[Examples of attribute usage](../master/Source/Examples/SortingLayerName)
192+
[Examples of attribute usage](../master/Runtime/Examples/SortingLayerName)
193193

194194
## SpriteAtlasSpriteName
195195
![screencast](Documentation/sprite-atlas-sprite-name-example.png)
@@ -203,4 +203,4 @@ private SpriteAtlas atlas;
203203
private string spriteName;
204204
```
205205

206-
[Examples of attribute usage](../master/Source/Examples/SpriteAtlasSpriteName)
206+
[Examples of attribute usage](../master/Runtime/Examples/SpriteAtlasSpriteName)

0 commit comments

Comments
 (0)