DavidGuaita
DavidGuaita

Reputation: 511

Method to know the Unity version of an Unity project?

There is a way of knowing the Unity version used to make an Unity project? Before it was possible checking the beginning of the Projectsettings file with an hex editor, but now nothing is shown about it. Any clues? Thanks

Upvotes: 8

Views: 7776

Answers (2)

aflatoon
aflatoon

Reputation: 279

@DavidGuaita
Its simple you can find unity version by doing this simple trick

GOTO Your Project > Library
Here you will see lots of files with .asset format open any of them in notepad.

In notepad editor you can see the unity version in first line

Source Know the Unity version of a Unity project

Upvotes: 8

izeed
izeed

Reputation: 1731

You can use preprocessor directives

#if UNITY_4_5
Debug.Log("this is Unity 4.5");
#endif

http://docs.unity3d.com/Manual/PlatformDependentCompilation.html

Upvotes: 3

Related Questions