mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-25 06:35:45 +00:00
anim controller fix (#149)
This commit is contained in:
parent
a036b8fe6f
commit
98d151203a
@ -79,10 +79,10 @@ namespace QSB.Animation
|
||||
{
|
||||
InitCommon(body);
|
||||
|
||||
_suitedAnimController = _bodyAnim.runtimeAnimatorController;
|
||||
|
||||
var playerAnimController = body.GetComponent<PlayerAnimController>();
|
||||
playerAnimController.enabled = false;
|
||||
|
||||
_suitedAnimController = playerAnimController.GetValue<RuntimeAnimatorController>("_baseAnimController");
|
||||
_unsuitedAnimController = playerAnimController.GetValue<AnimatorOverrideController>("_unsuitedAnimOverride");
|
||||
_suitedGraphics = playerAnimController.GetValue<GameObject>("_suitedGroup");
|
||||
_unsuitedGraphics = playerAnimController.GetValue<GameObject>("_unsuitedGroup");
|
||||
|
Loading…
x
Reference in New Issue
Block a user