SpriteManager and Unity Basic?

Hi all,

I'm new to the game development scene and have just been playing around a bit with a 2D Tower Defense style game for iPhone. I'm attempting to use SpriteManager to manage my sprites, but I can't seem to properly reference the SpriteManager class in my script. I heard some rumblings on the original SpriteManager thread about adding a Plugins folder to my Assets directory and placing the scripts in there to allow proper referencing, but even then the "SpriteManager" bit of my

`var spriteManager : SpriteManager;`

script remains determinedly un-yellow in Unitron.

Any Advice on what I might be doing wrong? Are plugins a Pro/Mobile only feature?

2 Answers

2

It's not going to change color in Unitron regardless of whether it works. Plugins are Pro-only but that only applies to plugins, not scripts; putting something in a folder called "plugins" doesn't make it a plugin. See here: http://unity3d.com/support/documentation/ScriptReference/index.Script_compilation_28Advanced29.html

Awesome! I feel the fool, but thanks so much!

you may want to check out http://www.ezsprite.com , they have a offer a nice spritesheet package for unity thats pretty cheap it works it's similar to the the animation system in flixel or cocos2d