コード例 #1
0
 void Update()
 {
     currentAngle = Scalars.Damp(currentAngle, tiltDirection * tiltAngle, ref tiltVelocity, tiltTime, Time.deltaTime);
     image.transform.eulerAngles = Float3.forward * currentAngle.ToSignedAngle();
 }