Skip to content

Commit

Permalink
fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
HK-SHAO committed Jul 24, 2022
1 parent ca55021 commit f8fb394
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/scene/Main.scene
Original file line number Diff line number Diff line change
Expand Up @@ -1689,7 +1689,7 @@
"_priority": 1073741824,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 960,
"_orthoHeight": 959.9999999999999,
"_near": 1,
"_far": 2000,
"_color": {
Expand Down
2 changes: 1 addition & 1 deletion assets/script/game/Character/CubeController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class CubeController extends BaseController {

// 旋转鸡螺旋桨
Util.tweenNumber(0.4, 0, 1, (num: number) => {
this.jiNode.setRotationFromEuler(v3(0, num * 360 * 4, 0))
this.jiNode?.setRotationFromEuler(v3(0, num * 360 * 4, 0))
});
}

Expand Down

0 comments on commit f8fb394

Please sign in to comment.