This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# By default the ssh-agent service is disabled. Allow it to be manually started for the next step to work. | |
# Make sure you're running as an Administrator. | |
Get-Service ssh-agent | Set-Service -StartupType Manual | |
# Start the service | |
Start-Service ssh-agent | |
# This should return a status of Running | |
Get-Service ssh-agent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var type = Type.GetType( "UnityEditor.PlayerSettings,UnityEditor" ); | |
if ( type != null ) | |
{ | |
var propertyInfo = type.GetProperty( "submitAnalytics", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static ); | |
if ( propertyInfo != null ) | |
{ | |
{ | |
var value = (bool)propertyInfo.GetValue( null, null ); | |
Debug.LogFormat( "PlayerSettings.submitAnalytics {0}", value ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if UNITY_5 | |
PlayerSettings.SetPropertyInt( "ScriptingBackend", (int)ScriptingImplementation.IL2CPP, BuildTargetGroup.iOS ); | |
#else | |
PlayerSettings.SetPropertyInt( "ScriptingBackend", (int)ScriptingImplementation.IL2CPP, BuildTargetGroup.iPhone ); | |
#endif |