![]() ![]() You can create a Sprite Shape GameObject without a Profile from the main menu (menu: GameObject > 2D Object > Sprite Shape).Drag the Sprite Shape Profile into the Scene to automatically generate a Sprite Shape GameObject based on that Profile.Create Angle Ranges and assign Sprites in the Sprite Shape Profile.Create a Sprite Shape Profile from the main menu (menu: Assets > Create > Sprite Shape Profile).Sprite Mode - Set this to Single if the texture contains only a single Sprite.Ĭreate Sprite Shapes in following the steps:.Other texture types are not supported for Sprite Shapes. Texture Type - Set this to Sprite (2D and UI). ![]() We recommend using the following settings when importing Sprites for a Sprite Shape: The Sprite Shape Profile contains the angle settings and Sprites used by the Sprite Shape, and you edit the Sprite Shape's outline with the Sprite Shape Controller component. Sprite Shapes comprise of two parts - the Sprite Shape Profile Asset, and the Sprite Shape Controller component. The following are examples of Sprite Shapes used to construct different parts of various levels. Additionally, you can assign a Fill texture to a Sprite Shape to create filled shapes with tiled textures as backgrounds or other large level-building props. The Sprite Shape is a flexible and powerful world building Asset that features Sprite tiling along a shape's outline that automatically deforms and swaps Sprites based on the angle of the outline. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |