Hi I'm trying to implement transaction history window to my game but I don't know how to start. It is supposed to work like that: I'm buying a book in history it says date at the top ,name of transaction and amount of the money it took. I thought it would be easy like just making a function where I put string and float in bracket. I don't know how to create an UI elements through code, how to move UI elements so when I buy second book that first one will move down. I'm not sure if it will be created if my gameobject will be disabled cause its supposed to be created on object that won't be always active. I think about doing it through Instantiate but don't know how to bite it because I can instantiate an prefab but idk how to put parameters in that prefab through function.
#Transaction history window.
1 messages · Page 1 of 1 (latest)
There is a Unity package that has UI help kit, so you can kind of design your UI through that
You have ways to go on about this, you can use Unity UI which is a base package that you already have, then you create your UI through it. And you have https://docs.unity3d.com/Manual/UIElements.html