コード例 #1
0
 void SetVector()
 {
     direction = transform.localScale.x;
     horizAxis = inputControl.getAxis().x;
     velX      = rigidbody2D.velocity.x;
 }