English 中文(简体)
Unity - Modifying Sprites
  • 时间:2024-11-03

Unity - Modifying Sprites


Previous Page Next Page  

The sprite we have just imported can also be manipulated in various ways to change how it looks.

If you look at the top left corner of the engine’s interface, you will find a toolbar as shown below −

Hierarchy

Let us discuss the functions of these buttons.

    The Hand tool is used to move around the scene without affecting any objects.

Hand Tool

Hand Tool Hierarchy

    Next, we have the Move tool. This is used to move objects in the game world around.

Move Tool

Move Tool Hierarchy

    In the centre, we have the Rotate tool, to rotate objects along the Z-axis of the game world (or parent object).

Rotate Tool

Rotate Tool Hierarchy

    The Scapng tool is positioned upwards. This tool lets you modify the size (scale) of objects along certain axes.

Scapng Tool

Scapng Tool Hierarchy

    Finally, we have the Rect tool. This tool behaves pke a combination of the Move and the Scapng tool, but is prone to loss of accuracy. It is more useful in arranging the UI elements.

Rect Tool

Rect Tool Hierarchy

These tools prove worthy as the complexity of the project increases.

Advertisements