Sunday, October 9, 2022
HomeGame DevelopmentAdd a Textual content On object - Cocos Creator

Add a Textual content On object – Cocos Creator



i wish to add a textual content , that shall be on prime of the thing (on its base(white one)) ,
is there any technique to achive that??
please let me know ,
Thanks


Good day @Pheonixdaksh
I feel you may simply put a textual content node containg the textual content part as baby node for the thing

By following these steps
1.making a node

  1. Add the label part to the brand new node from 2D

3.regulate place and different properties

  1. Drag the brand new node so as to add as a toddler node to the thing

By doing this the kid node will observe it’s dad or mum for the place, rotation And different properties
Hope this helps.

You should utilize the SpriteRenderer part, obtainable in model 3.6.x, which renders the feel within the 3D scene.

If you happen to suppose the SpriteRenderer part is just not appropriate, then you may seek advice from this demo to create the impact:

2022012083

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments