Search Unity

Unity UI Write Name with Car Model

Discussion in 'UGUI & TextMesh Pro' started by siddharth3322, Jul 12, 2019.

  1. siddharth3322

    siddharth3322

    Joined:
    Nov 29, 2013
    Posts:
    1,049
    I want to write a player name above his chosen car within multiplayer car gameplay.
    Something like this way:

    car_driver_name.PNG

    I just want to write the name of player one time only when a car is spawned within gameplay.
    After this, there is no possibility to update.

    So for this purpose, I have created a separate small canvas for each car.
    But this started showing me Canvas.BuildBatch related issue in the profiler.
    As per my thinking because of the Text component, this kind of problem occurred.
    Does any way exist to optimize this? If I create a static mesh then maybe it will work.
    Or maybe TextMesh is the solution for me?

    Please guide me for this point :)