FPS 2.0 Error

I’m a new 2.0 pro user and I’m having trouble getting the FPS demo to function.

among the many other blue ouput warnings…this one’s red

error BCE0019 ‘frame’ is not a member of the "UnityEngine.Texture2D’

any help or tips on this is appreciated.

thx.
r.

I did have the 1.6 pro demo previously installed. Could that be it? Pro/StdAssets?

Ryan, I had the some problem. It seems to be a reference to setting the visible frame of a Movie texture, but I haven’t dug into those features of 2.0 deeply enough to make it work, so I just commented it out and the example worked fine otherwise.

Hey, you’re in Raleigh? I’m trying to put together an informal Unity gathering sometime. Drop me a PM if you’re interested.

Turns out that line refers to an a texture animation feature that doesn’t exist in Unity 2.0. Definitely comment it out, and you’ll be fine.

Yes I’m in raleigh and teach at state. I would really like to share/help/develop locally with this awesome engine. I’ve also given some thought to creating a FP Demo, just to do it and enjoy working with others.
Ryan

btw. My current challange is animating a GUITexture. With the help of DH, I have succesfully got the this script to work but not with a GUITexture, just a game object.

“This script will work very well on Unity 2.0, and even has much better performance:”

http://unifycommunity.com/wiki/index.php?title=Animating_Tiled_texture_-_Extended

There seems to be a conflict with the .js and the renderer in the GUITexture component.

Hmmm… I haven’t tried that myself, but you should be able to instantiate a GUI.Box or whatever with a texture passed into the constructor. I’ll give it a try.

I live and work near state, around the glenwood south area. If you want to meet up at Helios some morning for a Unity bull session, let me know. My email is robterrell@gmail.com.