// 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; }
// 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; }
private void Start() { keySpace = new PerformJump(); keyQ = new PerformKick(); keyR = new PerformPunch(); keyW = new PerformWalk(); keyE = new DoNothing(); anim = actor.GetComponent <Animator>(); }
// 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>(); }