Skip to content

GersonHareb/Death-Bunker-Script-Character

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Death-Bunker-Script-Character

Script del personaje

public class SoldierScript : Monobehaviour {

private Rigidbody2D myRigidbody; private Animator myAnimator; private float jumpForce; public bool is Alive;

void Start () { isAlive = true;

myRigidBody = gameObject.GetComponent<RigidBody2D>();
myAnimator = gameObject.GetComponent<Animator> ();

jumpForce = 10f;
myRigidBody.gravityScale = 5f;

}

About

Script del personaje

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published