It can be seen from the above operation that you can't drag directly, So how should we operate ? Cocos 2.x How to useĬocos 3.x Is it feasible to drag directly ? ![]() To the node Sprite Components, You can display the pictures in the project resources in the scene, This is the official website Sprite The explanation ofĪdd to Sprite After component, By getting from Explorer Drag and drop Texture or SpriteFrame Type of resource to Sprite Frame Property reference, You can go through Sprite Component displays the resource image. Sprite( spirit ) yes 2D The most common way to display images in games, Add. ![]() ![]() Recently used Cocos Developed two games, The first one uses Cocos 2.x, The second paragraph uses Cocos 3.x, Use Cocos 3.x I found a lot when I was 2.x Some operations that can be used directly 3.x That won't be possible Just take this Sprite Come on ! official Sprite Introduction to component usage :
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |