Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ProductionUI : MonoBehaviour
- {
- Production production;
- void Update () {
- Debug.Log(production);
- // do stuff to show ProductionUI
- }
- public void activate(Production p)
- {
- production = p;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement