Z
Z
Zorgios2019-10-10 00:24:32
Unity
Zorgios, 2019-10-10 00:24:32

How to get an image from a prefab?

There is a source code of the game (Mario). It has a prefab that is responsible for the textures of Mario in different positions.
When the list is opened, all possible positions appear, and not only:
5d9e4f8b4f50c675428195.png
5d9e4f93796e6585897929.png
But when I try to open each position for viewing, the whole picture opens.
5d9e4fc7be901219937038.gif
Simply put, I need to replace Mario with my character, completely replacing any possible position with the file I need.
Source:
https://github.com/linhdvu14/SMB-clone

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2019-10-10
@Zorgios

This is a sprite map.
You need to rebuild the spritemap, or replace all the images with your own while keeping the map grid pixel-for-pixel (i.e. without breaking block separation). Those. create the same placement of animations and "paste" into this "top". In Photoshop, for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question