string The GUID for the main target.
Returns GUID of the main target in Unity project.
Returns GUID of the main target. This target includes everything except source code, plug-ins, dependent frameworks, and source compile/link build options. Use GetUnityFrameworkTargetGuid to get GUID of the framework target which includes these options.
Note: This method is not supported on macOS platform. Please use TargetGuidByName method with PlayerSettings.productName
argument instead.