12 lines
		
	
	
		
			299 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			299 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| local BusyPlayerRole = {}
 | |
| 
 | |
| function BusyPlayerRole:UpdateMoveDirection(InDirection)
 | |
|     if(InDirection.Y > 0) then
 | |
|         self["SpineAnimationComponent"]:SetSkin("front/move")
 | |
|     else
 | |
|         self["SpineAnimationComponent"]:SetSkin("back/move")
 | |
|     end
 | |
| end
 | |
| 
 | |
| return Class(nil, nil, BusyPlayerRole)
 |