Added tree grwoth camera animation, fixed combat camera state, fixed many errors in the console
This commit is contained in:
@@ -217,7 +217,7 @@ namespace Beyond
|
||||
animationName = growinAnimation;
|
||||
leavesMaterials.ForEach(material => material.DOColor(initialColor, leavesColorName, 1f));
|
||||
}
|
||||
|
||||
//Player.Instance.PlayerInput.ChangeCameraStateWithLerp("Default");
|
||||
StartCoroutine(ShowFruitsCoroutine());
|
||||
|
||||
//animLayer = 0;
|
||||
@@ -599,7 +599,7 @@ namespace Beyond
|
||||
(size - startingSize));
|
||||
}
|
||||
}
|
||||
|
||||
Player.Instance.PlayerInput.ChangeCameraStateWithLerp("Default");
|
||||
treeAnimator.enabled = false;
|
||||
}
|
||||
|
||||
@@ -608,6 +608,8 @@ namespace Beyond
|
||||
/// </summary>
|
||||
public void GrowTree()
|
||||
{
|
||||
|
||||
Player.Instance.PlayerInput.ChangeCameraStateWithLerp("Tree");
|
||||
switch (currentTreeState)
|
||||
{
|
||||
case TreeState.Empty:
|
||||
|
||||
Reference in New Issue
Block a user