Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Modular 3D Text - Complete ingame ui sytem

Discussion in 'Assets and Asset Store' started by FerdowsurAsif, Feb 4, 2020.

  1. Gaucho

    Gaucho

    Joined:
    Apr 21, 2013
    Posts:
    11
    Hi there!

    I'm currently struggling with layouting the modular 3d Text.
    I'm trying to achieve a simple chat window, which each entry having a name and a message of the user. Would be nice, if the name is a different modular3d Text element, so that i can give it a different matieral.

    upload_2023-10-18_14-47-54.png

    How can i structure this, which Layout should i use (Grid i assume)?

    Would be nice if you could post a small snipped / structure in unity with the appropriate components set up.

    Edit: If there's no such possibility with the given behaviours: is there a possibility to determine the height of a text? I could then code it myself.
     
    Last edited: Oct 18, 2023
  2. FerdowsurAsif

    FerdowsurAsif

    Joined:
    Feb 7, 2017
    Posts:
    275
    Hi,
    Yes, you can achieve this with a grid layout.
    You can look into MeshBaseSize."Several methods available, not sure which one would be best"(target); to get the height of the text and assign it to a Layout Element.

    But if it's possible, please wait a while. I will try to push the next update within 24 hours.
    The next update is a large update to the layout system. It will help to achieve your targeted behavior much easier.
    I am happy to provide a working sample of how to set chat up with that one.
     
    Gaucho likes this.
  3. FerdowsurAsif

    FerdowsurAsif

    Joined:
    Feb 7, 2017
    Posts:
    275
    Hi,
    After updating to the new version, please use the package attached below and you should receive the result shown in the video.

    Please note: The new update isn't out yet and should be available within a few hours of me writing this.

     

    Attached Files:

    Gaucho likes this.
  4. Gaucho

    Gaucho

    Joined:
    Apr 21, 2013
    Posts:
    11
    Awesome, will check tomorrow!
     
    FerdowsurAsif likes this.
  5. FerdowsurAsif

    FerdowsurAsif

    Joined:
    Feb 7, 2017
    Posts:
    275
    Modular 3D Text - Version 4.3.0
    • Major refactoring to the entire layout system. The layouts should be faster and have more options to modify to get the vision you have.
    • Added volume layout group.
    • Added element updaters, a type of module that is only used by layouts. It can be used to animate position & rotation changes.
    • 3D Text should work better on Canvas now. Requires the usage of grid layouts, canvas to use screen space camera, and update on recttransform's width/height change isn't automatic.
    • Bugfix: Duplicating text and updating the copy was causing the original to be removed.
    • Bugfix: Assembly definition file name typo that caused the editor window to not find it.
    • Some tooltip update.
     
  6. FerdowsurAsif

    FerdowsurAsif

    Joined:
    Feb 7, 2017
    Posts:
    275
    Don't hesitate to let me know if you have any questions. Always happy to help!
     
  7. Barliesque

    Barliesque

    Joined:
    Jan 12, 2014
    Posts:
    128
    Hi @FerdowsurAsif,
    I need a 3D version of Avantt Heavy Italic to be used at a very large size. When I create the 3D font, the results are not high-poly enough to create smooth curves at the size I need. Since the Vertex Density parameter doesn't really have any affect, I'm not seeing any way to increase the quality. Here's an example comparing the original font to the 3D model:



    The middle curves are particularly jagged--which looks to me like a separate issue. I'm looking to increase the poly-count throughout.
     
    Last edited: Nov 2, 2023
  8. FerdowsurAsif

    FerdowsurAsif

    Joined:
    Feb 7, 2017
    Posts:
    275
    Hi,
    Sorry about the issue.
    It looks like the vertex density value wasn't being used.
    I fixed it. I don't have access to the font you mentioned, so I tested with the League Spartan font.
    upload_2023-11-3_13-29-53.png upload_2023-11-3_13-30-12.png

    It is working now. Hopefully, this will give you the result you wanted.
    Sorry again about the bug.
    Don't hesitate to let me know if you need anything else. Always happy to help.

    Sincerely,
    Ferdowsur Asif
     
  9. FerdowsurAsif

    FerdowsurAsif

    Joined:
    Feb 7, 2017
    Posts:
    275
    Modular 3D Text - Version 4.3.1
    • Fixed a bug with the vertex density value not working when creating fonts. Thanks, David Barlia.
     
  10. FerdowsurAsif

    FerdowsurAsif

    Joined:
    Feb 7, 2017
    Posts:
    275
    Modular 3D Text - Version 4.4.0
    • Fixed a bug with prefab settings getting hidden in prefab isolation mode. Thanks again, David Barlia.
    • Fixed a bug domain reloads breaking prefab on instance updated listeners.
    • Added an option to always update texts in editor mode.
    Modular 3D Text - Version 4.4.0a
    • Added a button on fonts to update all instances of it in the scene.
    Note: There has been a delay with the update.
    Due to some issues I am not aware of, the update to the asset is stuck in the processing data phase on the asset store. Some other publishers are facing similar issues and for a few, this has been resolved automatically. Hopefully, it will be resolved for everyone soon. I will check back in the morning and update this.

    Update: The new update is live on the asset store.
     
    Last edited: Nov 7, 2023
  11. FerdowsurAsif

    FerdowsurAsif

    Joined:
    Feb 7, 2017
    Posts:
    275
    Modular 3D Text - Version 4.5.0
    • The default Unity version has been updated to 2021 to comply with asset store rules.
    • New font creator editor window in UIToolkit with a preview of the mesh with wireframe, vertex count, etc.
    upload_2023-11-16_14-15-44.png
    • Better debug logs for 3D Text that can be controlled by the debug foldout in the Text Inspector. upload_2023-11-16_14-16-37.png
    • Bugfix: Linear layout for combined meshes.
    • Bugfix: API Compatibility with Unity version 2023.
     
  12. FerdowsurAsif

    FerdowsurAsif

    Joined:
    Feb 7, 2017
    Posts:
    275
    Modular 3D Text - Version 4.5.1a
    • Minor UI improvements to the font creator window.
    • Usability improvements to the light mode inspector labels.
    • Removed unnecessary logs.
    Modular 3D Text - Version 4.5.1
    • 'kern' table is now processed by the font creator.
    • Bugfix: Fixed a bug caused by the new input system package not being installed in new projects.
     
  13. Gaucho

    Gaucho

    Joined:
    Apr 21, 2013
    Posts:
    11
    Hi there,

    got a small question - i've seen that you have posted some fonts in the video, where the sides do have a different texture than the front facing surfaces - which makes them way easier to read.
    I've checked the examples, but i could not find any example that does this at first glance. is there some option i could set or apply different materials or have you just solved this by lightning / shadows?

    upload_2023-11-22_10-15-23.png
     
  14. FerdowsurAsif

    FerdowsurAsif

    Joined:
    Feb 7, 2017
    Posts:
    275
    I have to check, but I think it was two texts on top of each other.
     
  15. FerdowsurAsif

    FerdowsurAsif

    Joined:
    Feb 7, 2017
    Posts:
    275
    Modular 3D Text - Version 4.6.0
    -
    Redesigned asset window using UIToolkit implemented and legacy one removed.

    upload_2023-11-24_0-15-50.png
    upload_2023-11-24_0-16-9.png

    I will slowly change all the inspectors to use UIToolkit with a similar look. Please provide me feedback if there is anything I should change. Specially, the light mode UI. Which I have very little experience using.