||unity-dev|| attribute persistence: more than one value/extra fields?

Discussion list for Unity developers. unity-dev at moock.org
Wed Sep 12 11:28:35 CDT 2007


Hi all,

I was trying to figure out a way to add additional fields to the MySQL 
database used with attribute persistence. After looking through the 
archives, I understand that this isn't possible with the built in 
functionality of Unity? (Unity 2)

 I'm wondering if any of you have had some success with accomplishing an 
equivalent of this, or if anyone has developed a workaround to get more than 
one value stored and retrieved to/from MySQL/Unity through other means? I 
need to figure out how to get information to/from a database with a 
different structure (2 extra fields). I've tried putting together a PHP 
solution, but it doesn't work with Unity very nicely (refresh problems), and 
I want to have seamless/synchronous attribute persistence like the rest of 
the chat I've put together.

What I'm trying to do (if some context helps at all.) is create a vote-based 
reputation system for my avatar chat.  This means that I need to store the 
id of the voter, the votee, and the value of the vote (so that a user can be 
made aware of and change the vote given to another user).

Thanks,

drew 



More information about the unity-dev mailing list