TAKOYAKING’s blog 一覧

TAKOYAKING’s blog

たこ焼き系

2020-07-03から1日間の記事一覧

Unity: Rotationを指定する

角度指定をとりあえず雑に指定する方法のメモです。Unity InspectorのRotationでx, y, zを指定して角度を入力する方法です。(Quaternionから逃げたい!) float angle = 90; transform.eulerAngles = new Vector3(0, 0, angle); // or transform.rotation = Q…