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

Add a Text On object – Cocos Creator



i wish to add a textual content , that will likely be on prime of the thing (on its base(white one)) ,
is there any option to achive that??
please let me know ,
Thank you

Hello @Pheonixdaksh
I feel you’ll be able to 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.alter 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 comply with it’s guardian for the place, rotation And different properties
Hope this helps.

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

If you suppose the SpriteRenderer part just isn’t appropriate, then you’ll be able to check with this demo to create the impact:

2022012083

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments