Put a text onto a game-object BUT as if it was painted

前端 未结 3 1682
耶瑟儿~
耶瑟儿~ 2020-12-30 16:53

I was looking for this answer on the web for some time. But apparently my search phrases were wrong or it is really that hard. But I doubt it.

Imagine, I have any 3

3条回答
  •  离开以前
    2020-12-30 17:42

    You can do that with a UI Text game object and the 3D Object.

    The steps are as follows:

    • In your empty scene, create a 3D Cube.

    • Create a UI Text object.

    • Drag the Canvas to become a child of the cube.

    • Set the Canvas to World Space render mode, remove the Canvas Scaler component and set Width = Height = 1 and all Pos = 0.

    • Set the text Width = Height = 100, all Scale = 0.01 and Pos Z = -0.5.

提交回复
热议问题