Hello, let me jump right into it
Is there a way to create a struct that i can use throughout my project?
e.i. i want to be able to do:
Mob myMob = new Mob();
myMob.hp = 100;
myMob.otherstats = whatever;
In any script throughout my project after defining struct mob
To do this in visual studio i would create a stand alone dll and add it into the refs but was hoping there would be a easier/cleaner way of doing this within mono.
Next big thing is i want to import XML(or any file) files after the game as started
e.i. i want to be able to create a file that has
<Mob>
<hp>100</hp>
<otherstats>whatever</otherstats>
etc etc.
And then import that at runtime to retrieve various things.
Not so important if it cannot be done would like to carry that out and be able to import entire zips
e.i. zip containing
Back drop image
Xml files with coords
etc etc
And be able to import and use that at runtime
And last thing at this very moment is drawing a circle without a transparent image… all i need is an o to appear around an object for about 2 seconds but i do not know what size the o will have to be until it happens at runtime. Pretty much i am looking to do a debug.drawline type of thing and load in an equation for a circle.
Very sorry if I’ve missed some obvious guide to do any of these but i have searched quite a bit and turn to here out of frustration. And on that note anybody who has a good guide on setting up resource folders i would greatly appreciate the link… tried to follow the manual and various threads but my resource folder never seems to work.
Thank you very much in advance for any help.