Javatpoint Logo
Javatpoint Logo

Internal Assets

Along with the external assets that you import from other programs such as image, audio files, 3D models, etc., Unity also offers the creation of internal assets. These assets are formed within Unity itself, and as such, do not need any external program to create or modify.

Let's see some examples of internal assets:

  • Scenes: These act as levels.
  • Animations: These contain data for the animation of GameObject.
  • Materials: These are used to define how lighting affects the appearance of an object.
  • Scripts: The code which will be written for the GameObjects.
  • Prefabs: These act as a blueprint for GameObjects so they can be generated at runtime.

To create an internal asset, go to the Assets folder and right-click on that folder and select Create.

Internal Assets

In this example, we will create a Triangle and a Square.

To create a Triangle asset, right click on the asset -> Create -> Sprites -> Triangle

Internal Assets

Repeat the same process for Square, and now you should have two new graphic assets.

Internal Assets

As we move along, we will explore more of these internal assets, since they are very crucial to build a proper game.







Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA