This file contains hidden or 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
# Perforce File Type Mapping Specifications. | |
# | |
# TypeMap: a list of filetype mappings; one per line. | |
# Each line has two elements: | |
# | |
# Filetype: The filetype to use on 'p4 add'. | |
# | |
# Path: File pattern which will use this filetype. | |
# | |
# See 'p4 help typemap' for more information. |
This file contains hidden or 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 hidden or 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 hidden or 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 |