Entries from 2021-03-22 to 1 day
for smartphone and pc. 左右にドラッグできるUI タッチまたはマウスダウンで左右にドラッグするスクリプト。 スマホ、PC対応 めんどくさいので、もうつくりたくない・・ using System.Collections; using System.Collections.Generic; using UnityEngine; u…
毎フレームこれをやって、徐々に近づけた。 data.rotation = Quaternion.Lerp(data.rotation, tgtRot, 0.05f);