You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
23
23
24
24
## Usage
25
25
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()
72
72
}
73
73
```
74
74
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).
76
76
77
77
### Animation
78
78
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()
112
112
}
113
113
```
114
114
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).
116
116
117
117
## Caveats
118
118
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:
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.
23
23
24
24
## Usage
25
25
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()
72
72
}
73
73
```
74
74
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).
76
76
77
77
### Animation
78
78
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()
112
112
}
113
113
```
114
114
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).
116
116
117
117
## Caveats
118
118
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