This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Unity3D.
Summary
Try and get the version of Unity3D a specified project uses.
Syntax
public static bool TryGetUnityVersionForProject(this ICakeContext context, string projectPath, out string unityVersion)
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The active cake context. |
| projectPath |
string |
The absolute path to the Unity3D project we want to get the Unity3D version for. |
| unityVersion |
string |
If found the name of the Unity3D version used for the project. |
Return Value
| Type |
Description |
| bool |
True if the editor version was found, false otherwise. |