Skip to content

Commit d5baee0

Browse files
committed
Update README.md
1 parent 5afbbfb commit d5baee0

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Packages/com.rfadeev.unityforge.animcallbacks/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Project supports Unity Package Manager. To install project as Git package do fol
1313
```json
1414
{
1515
"dependencies": {
16-
"com.rfadeev.unityforge.animcallbacks": "https://github.com/rfadeev/unity-forge-anim-callbacks.git"
16+
"com.rfadeev.unityforge.animcallbacks": "https://github.com/rfadeev/unity-forge-anim-callbacks.git#upm"
1717
}
1818
}
1919
```
2020
3. Open Unity project.
2121

22-
Alternatively, add this repository as submodule under `Assets` folder or download it and put to `Assets` folder of your Unity project.
22+
Alternatively, using upm branch add this repository as submodule under `Assets` folder or download it and put to `Assets` folder of your Unity project.
2323

2424
## Usage
2525
Import `UnityForge.AnimCallbacks` namespace to be able to use extensions for callbacks. Both Animator and Animation extension methods have same names:
@@ -72,7 +72,7 @@ private void LogStart()
7272
}
7373
```
7474

75-
Find more Animator examples [here](https://github.com/rfadeev/unity-forge-anim-callbacks/tree/master/Source/Examples/Animator).
75+
Find more Animator examples [here](https://github.com/rfadeev/unity-forge-anim-callbacks/tree/master/Packages/com.rfadeev.unityforge.animcallbacks/Samples/Animator).
7676

7777
### Animation
7878
For Animation's animation clip callbacks clip name is required to add callback. To add callback at given timeline position, position parameter representing time in seconds from clip start is required.
@@ -112,7 +112,7 @@ private void LogStart()
112112
}
113113
```
114114

115-
Find more Animation examples [here](https://github.com/rfadeev/unity-forge-anim-callbacks/tree/master/Source/Examples/Animation).
115+
Find more Animation examples [here](https://github.com/rfadeev/unity-forge-anim-callbacks/tree/master/Packages/com.rfadeev.unityforge.animcallbacks/Samples/Animation).
116116

117117
## Caveats
118118
Callbacks are implemented via adding Unity animation events to the animation clip and `AnimationEventReceiver` component to the same object Animator or Animation is attached. Following should be taken into account when using callbacks:

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Project supports Unity Package Manager. To install project as Git package do fol
1313
```json
1414
{
1515
"dependencies": {
16-
"com.rfadeev.unityforge.animcallbacks": "https://github.com/rfadeev/unity-forge-anim-callbacks.git"
16+
"com.rfadeev.unityforge.animcallbacks": "https://github.com/rfadeev/unity-forge-anim-callbacks.git#upm"
1717
}
1818
}
1919
```
2020
3. Open Unity project.
2121

22-
Alternatively, add this repository as submodule under `Assets` folder or download it and put to `Assets` folder of your Unity project.
22+
Alternatively, using upm branch add this repository as submodule under `Assets` folder or download it and put to `Assets` folder of your Unity project.
2323

2424
## Usage
2525
Import `UnityForge.AnimCallbacks` namespace to be able to use extensions for callbacks. Both Animator and Animation extension methods have same names:
@@ -72,7 +72,7 @@ private void LogStart()
7272
}
7373
```
7474

75-
Find more Animator examples [here](https://github.com/rfadeev/unity-forge-anim-callbacks/tree/master/Source/Examples/Animator).
75+
Find more Animator examples [here](https://github.com/rfadeev/unity-forge-anim-callbacks/tree/master/Packages/com.rfadeev.unityforge.animcallbacks/Samples/Animator).
7676

7777
### Animation
7878
For Animation's animation clip callbacks clip name is required to add callback. To add callback at given timeline position, position parameter representing time in seconds from clip start is required.
@@ -112,7 +112,7 @@ private void LogStart()
112112
}
113113
```
114114

115-
Find more Animation examples [here](https://github.com/rfadeev/unity-forge-anim-callbacks/tree/master/Source/Examples/Animation).
115+
Find more Animation examples [here](https://github.com/rfadeev/unity-forge-anim-callbacks/tree/master/Packages/com.rfadeev.unityforge.animcallbacks/Samples/Animation).
116116

117117
## Caveats
118118
Callbacks are implemented via adding Unity animation events to the animation clip and `AnimationEventReceiver` component to the same object Animator or Animation is attached. Following should be taken into account when using callbacks:

0 commit comments

Comments
 (0)