Skip to content

Commit

Permalink
Merge branch 'master' into Arte
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelGomes00 committed Sep 11, 2021
2 parents 97cb246 + a0ba03b commit 59a6013
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Assets/Script/Player/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -327,16 +327,6 @@ public void ChangeAnimationTo(string[] possibleAnimations, float crossFadeLength
animator.CrossFade(animationChoosen, crossFadeLength);
}

public void InstantiateTubao()
{
Debug.Log("Instancia o tubao ai amigo");
GameObject tubao = (GameObject)AssetDatabase.LoadAssetAtPath("Assets/Prefabs/Juices/tube.prefab", typeof(GameObject));

var tuboInstantiate = Instantiate(this.gameObject, this.transform.position + new Vector3(0, 10, 0), Quaternion.identity);

tuboInstantiate.transform.DOScaleZ(100, 0.5f);
}


/// <summary>
/// Method get the player state info
Expand Down

0 comments on commit 59a6013

Please sign in to comment.