可以通过设置渲染分辨率比例和屏幕分辨率解决模糊的问题,与抗锯齿无关
This commit is contained in:
		| @ -14,7 +14,6 @@ end | ||||
| function LevelFoxRole:OnMoveDirectionChanged(InDirection) | ||||
|     -- 运动组件更新方向响应函数 | ||||
|     local cur_animation | ||||
|  | ||||
|     if Vector2D.Equals(InDirection, Vector2D.Zero) then -- Idle的情况 | ||||
|         local forward_direction = self["MovementComponent"]:GetForwardDirection() | ||||
|         if(forward_direction.Y >= 0) then | ||||
| @ -29,12 +28,10 @@ function LevelFoxRole:OnMoveDirectionChanged(InDirection) | ||||
|             cur_animation = "Move/Back" | ||||
|         end | ||||
|     end | ||||
|     -- if cur_animation ~= self.last_animation then | ||||
|     print("changed", cur_animation) | ||||
|  | ||||
|     self["SpineAnimationComponent"]:SetAnimation(0, cur_animation, true) | ||||
|     self.last_animation = cur_animation | ||||
|     -- end | ||||
|     if cur_animation ~= self.last_animation then | ||||
|         self["SpineAnimationComponent"]:SetAnimation(0, cur_animation, true) | ||||
|         self.last_animation = cur_animation | ||||
|     end | ||||
| end | ||||
|  | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user