fixed viewport not updating canvas in onBeatChanged
This commit is contained in:
parent
2f1133007a
commit
0178016176
|
|
@ -86,6 +86,10 @@ namespace HeavenStudio
|
|||
UpdatePan();
|
||||
UpdateRotation();
|
||||
UpdateScale();
|
||||
|
||||
canvas.localPosition = pan;
|
||||
canvas.eulerAngles = new Vector3(0, 0, rotation);
|
||||
canvas.localScale = scale;
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
|
|
|
|||
Loading…
Reference in a new issue