2d progress
This commit is contained in:
1 parent
9f026b76d6
commit
63c3549673
70 files changed
+1008
-6260
No files matched your search
@@ -1,4 +1,4 @@
|
||||
using DG.Tweening;
|
||||
using PrimeTween;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Code.Example.Race.Racer.Car
|
||||
@@ -15,7 +15,7 @@ namespace Code.Example.Race.Racer.Car
|
||||
{
|
||||
var wheelRotation = wheel.localRotation.eulerAngles;
|
||||
wheelRotation.y = amount;
|
||||
wheel.DOLocalRotate(wheelRotation, 1f);
|
||||
Tween.LocalRotation(wheel,wheelRotation, 1f);
|
||||
// wheel.localRotation = Quaternion.Euler(wheelRotation);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user