I
I
i__egor2019-02-04 15:34:05
Unity
i__egor, 2019-02-04 15:34:05

How to create a sprite in Unity3d?

3d game. there is canvas. in it you need to create sprites in the code (those with the RectTransform, CanvasRenderer and Image (Script) components), change the position, size and image source accordingly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2019-02-04
@GavriKos

Well, what's the problem?
You instantiate the gameobject, and through the addcomponent add what you need.
The option is simpler - create a prefab in the editor, and instantiate it already.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question