Global Data and Sta...
 
Notifications
Clear all

Global Data and Static

2 Posts
2 Users
0 Reactions
734 Views
(@jklejkle)
Posts: 2
Active Member
Topic starter
 

Hi,

The Combu works great for me! I just want to add two things:

1. A global table or global custom data that can be called from Unity script (say you have a online store, and the item price would be the global data for all users because I don't want to store the price on the project but instead on the database so that it can be changed anytime)

2. Instead of having to drag a CombuManager prefab to the scene, can y'all make combu settings file(similar to photon server setting file if you have PUN installed) that store the setting in your project and is available in every scene. Currently, for any scene that uses combu, it either needs to have its own combumanager or a combumanager needs to be retained for that scene. Hope that makes sense!

 

Thank you!happy

 
Posted : 05/07/2015 3:47 am
(@skaredcreations)
Posts: 806
Prominent Member Admin
 

The first request is already being implemented for the next update, it should be ready sooner.

For the second feature request, you should have one only instance of CombuManager in your game with dontDestroyOnLoad set to true, usually in the splash screen so that it will be created only once and remains active for the game lifetime. Anyway it could be done as you said with a configuration file, may be I'll take a look at it but with a very low priority.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 07/07/2015 12:00 pm
Share: