Beispiel #1
0
 void QuaryUpgraded(object sender, QuaryUpgradedEventArgs args)
 {
     UpgradedRockArguments = args;
     if (RockDisplayModel.gameObject.activeSelf)
     {
         Request_ChangeRockScaleOnNextUnload = true;
     }
     else
     {
         ChangeRockScale();
     }
 }
Beispiel #2
0
 void QuaryUpgraded(object sender, QuaryUpgradedEventArgs args)
 {
     Animator.SetLayerWeight(RockLayer, args.Level * .07f + .1f);                // The larger the rock - the more the layer weight.
 }