Before updating to Windows 10 you may need to return your Pro license. More information here

Storing away monsters

I'm working on a mon game (Pokemon, Digimon, Monster Rancher, etc) and i'm having a hard time figuring out how i want to handle the stored, monsters should i put them in some kind of array or list not to mention what i also have to do with their stats. can anyone suggest how to proceed?

more ▼

asked Jul 09, 2012 at 06:21 AM

avatar image

101 44 57 66

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

It sounds like you need a class to describe monsters(possibly one for each monster, inherited from a base class) and then hold instances of that class (or those classes) in a List.

If you mark your class as Serializable then you will be able to edit the properties of the monsters in the Unity inspector.

more ▼

answered Jul 09, 2012 at 06:37 AM

avatar image

55.6k 62 128 255

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Jul 09, 2012 at 06:21 AM

Seen: 659 times

Last Updated: Jul 09, 2012 at 06:38 AM