2019-04-24から1日間の記事一覧
//移動方向の取得 Vector3 GetMoveDirection(){ Vector2 dir = OVRInput.Get(OVRInput.Axis2D.PrimaryTouchpad); //そのまま使うと方向がいい感じにならないので8方向に限定する float dig = GetDigree(); float unit = 22.5f; if(CheckRange(dig,unit*15,3…
//移動方向の取得 Vector3 GetMoveDirection(){ Vector2 dir = OVRInput.Get(OVRInput.Axis2D.PrimaryTouchpad); //そのまま使うと方向がいい感じにならないので8方向に限定する float dig = GetDigree(); float unit = 22.5f; if(CheckRange(dig,unit*15,3…