狐狸接入
This commit is contained in:
		| @ -5,8 +5,8 @@ function LevelRabbitRole:ctor() | ||||
| end | ||||
|  | ||||
| function LevelRabbitRole:ReceiveBeginPlay() | ||||
| 	self["SpineAnimationComponent"]:SetSkin("back/move"); | ||||
| 	self["SpineAnimationComponent"]:SetAnimation(0, "animation", true); | ||||
| 	-- self["SpineAnimationComponent"]:SetSkin("back/move"); | ||||
| 	-- self["SpineAnimationComponent"]:SetAnimation(0, "animation", true); | ||||
| end | ||||
|  | ||||
|  | ||||
| @ -31,28 +31,28 @@ function LevelRabbitRole:UpdateMoveDirection(InDirection) | ||||
|     end | ||||
| end | ||||
|  | ||||
| function LevelRabbitRole:OnDetachCamera() | ||||
|     print(self, "LevelRabbitRole.OnDetachCamera") | ||||
| -- function LevelRabbitRole:OnDetachCamera() | ||||
| --     print(self, "LevelRabbitRole.OnDetachCamera") | ||||
|  | ||||
|     -- 禁用弹簧臂的附着 | ||||
|     self["SpringArmComponent"].bEnableCameraRotationLag = true | ||||
|     self["SpringArmComponent"].CameraRotationLagSpeed = 0 | ||||
|     -- 保持当前位置,停止跟随 | ||||
|     self["SpringArmComponent"].bInheritPitch = true | ||||
|     self["SpringArmComponent"].bInheritYaw = true | ||||
|     self["SpringArmComponent"].bInheritRoll = true | ||||
| --     -- 禁用弹簧臂的附着 | ||||
| --     self["SpringArmComponent"].bEnableCameraRotationLag = true | ||||
| --     self["SpringArmComponent"].CameraRotationLagSpeed = 0 | ||||
| --     -- 保持当前位置,停止跟随 | ||||
| --     self["SpringArmComponent"].bInheritPitch = true | ||||
| --     self["SpringArmComponent"].bInheritYaw = true | ||||
| --     self["SpringArmComponent"].bInheritRoll = true | ||||
|  | ||||
|     -- (Pitch=0.000000,Yaw=-90.000000,Roll=0.000000) | ||||
| end | ||||
| --     -- (Pitch=0.000000,Yaw=-90.000000,Roll=0.000000) | ||||
| -- end | ||||
|  | ||||
| function LevelRabbitRole:OnReattachCamera() | ||||
|     print(self, "LevelRabbitRole.OnReattachCamera") | ||||
| end | ||||
| -- function LevelRabbitRole:OnReattachCamera() | ||||
| --     print(self, "LevelRabbitRole.OnReattachCamera") | ||||
| -- end | ||||
|  | ||||
|  | ||||
| function LevelRabbitRole:OnMoveCamera(direction) | ||||
|     print(self, "LevelRabbitRole.OnMoveCamera", direction.X, direction.Y) | ||||
| end | ||||
| -- function LevelRabbitRole:OnMoveCamera(direction) | ||||
| --     print(self, "LevelRabbitRole.OnMoveCamera", direction.X, direction.Y) | ||||
| -- end | ||||
|  | ||||
|  | ||||
| return Class(nil, nil, LevelRabbitRole) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user