// Start is called before the first frame update
 void Start()
 {
     keyQ    = new PerformJump();
     keyW    = new PerformKick();
     keyE    = new PerformPunch();
     upArrow = new MoveForward();
     Camera.main.GetComponent <CameraFollow360>().player = actor.transform;
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     keyJump    = new PerformJump();
     keyKick    = new PerformKick();
     keyPunch   = new PerformPunch();
     KeyUpArrow = new MoveForward();
     anim       = actor.GetComponent <Animator>();
     Camera.main.GetComponent <CameraFollow360>().player = actor.transform;
 }
Example #3
0
 private void Start()
 {
     keySpace = new PerformJump();
     keyQ     = new PerformKick();
     keyR     = new PerformPunch();
     keyW     = new PerformWalk();
     keyE     = new DoNothing();
     anim     = actor.GetComponent <Animator>();
 }
Example #4
0
 // Start is called before the first frame update
 void Start()
 {
     Camera.main.GetComponent <CameraFollow360>().player = actor.transform;
     keyQ    = new PerformJump();
     keyP    = new PerformPunch();
     keyK    = new PerformKick();
     upArrow = new MoveForward();
     anim    = actor.GetComponent <Animator>();
 }