This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
mecanimcontrol [2015/03/18 21:12] Mistermind |
mecanimcontrol [2018/09/17 10:29] (current) Mistermind [Public Variables] |
||
---|---|---|---|
Line 6: | Line 6: | ||
**Mecanim Control** is a coding tool made that allow for a wider variety of common methods used by the [[http:// | **Mecanim Control** is a coding tool made that allow for a wider variety of common methods used by the [[http:// | ||
- | [[http:// | ||
---- | ---- | ||
Line 63: | Line 62: | ||
**Default Animation**\\ | **Default Animation**\\ | ||
AnimationData // | AnimationData // | ||
- | By default, if no order is given, the animator will play the animation stored in this AnimationData. | + | By default, if no order is given, the animator will play the animation stored in this AnimationData. If you don't assign an animation, Mecanim Control will instantiate the first animation listed on [[# |
<code c#> | <code c#> | ||
Line 82: | Line 81: | ||
float speed - Animation speed.\\ | float speed - Animation speed.\\ | ||
float transitionDuration - Blending Duration.\\ | float transitionDuration - Blending Duration.\\ | ||
- | WrapMode wrapMode - The animation' | + | WrapMode wrapMode - The animation' |
- | bool applyRootMotion - If this and //Override Root Motion// is toggled this animation will toggle the Animator' | + | bool applyRootMotion - If this and //Override Root Motion// is toggled this animation will toggle the Animator' |
**Description**\\ | **Description**\\ | ||
Line 128: | Line 127: | ||
**Override Root Motion**\\ | **Override Root Motion**\\ | ||
bool // | bool // | ||
- | If both applyRootMotion (under the animation element) and this variable is //true//, this animation will toggle the Animator' | + | If both applyRootMotion (under the animation element) and this variable is //true//, this animation will toggle the Animator' |