Reputation: 87
sorry for my bad english. i am using unity 3.5.7 version. But now i make a game which is based on a game that i got from AssetStore on unity 4.3.4. There is a variable that using Sprite class, but i can't use it on Unity 3.5.7. what can i do to make it work on unity 3.5.7?
and also there is "EaseType" on these code. but i can't use it too on unity 3.5.7. what code that can change "EaseType" on unity 3.5.7? please help me. thank you.
well these are the codes
public Sprite[] sprites;
string[] sounds = new String[]{"perc","fx","glass","coo","water","cash"};
public EaseType easeType = EaseType.EaseOutBounce;
Upvotes: 1
Views: 175
Reputation: 985
Sprite
type is one of a Unity 2D features, which were introduced in Unity 4.3 release (see changelog).
So, there is no way you could use it. Also using packages prepared for newer versions usually won't work in older releases. So you cannot do anything about that, you need to upgrade to 4.3 version if you want to use unity 2D toolset.
Upvotes: 2