Beispiel #1
0
 public void GetAltLook()
 {
     altLook.x = CharacterTools.GetAxis(lookRight, lookLeft, altLook.x, lookDelta * Time.deltaTime);
     altLook.y = CharacterTools.GetAxis(lookUp, lookDown, altLook.y, lookDelta * Time.deltaTime);
 }
Beispiel #2
0
 public void GetMove()
 {
     move.y = CharacterTools.GetAxisRaw(walkF, walkB, move.y);
     move.x = CharacterTools.GetAxisRaw(strafeR, strafeL, move.x);
 }