Nếu một nhà nước hoạt hình mới được yêu cầu, sau đó bạn gọi
runAnimationForAnimationState (_ :).
Có một điều cuối cùng thành phần hoạt hình bạn cần: một cách để có một kết cấu
atlas và tạo ra một hình ảnh động bằng cách sử dụng cấu trúc Animation bạn thêm vào ở phía trên cùng của
phần này.
Thêm chức năng này bên dưới các chức năng cuối cùng bạn nói thêm:
đang được dịch, vui lòng đợi..