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
| using UnityEngine; | |
| using System.Collections; | |
| public class Movement : MonoBehaviour { | |
| //the Axis of the joystick | |
| private float horAxis, vertAxis; | |
| //components | |
| private Rigidbody _rigid; |
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
| using UnityEngine; | |
| using System.Collections; | |
| using Steamworks; | |
| public class SubmitToLeaderboard : MonoBehaviour { | |
| //the enum to select | |
| public Leaderboard mLeaderboardToSubmit; | |
| // Default to Global Leaderboards. | |
| private ELeaderboardDataRequest m_eRequestType = ELeaderboardDataRequest.k_ELeaderboardDataRequestGlobal; |
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
| public bool getBool(string key) | |
| { | |
| //make the key not case sensitive | |
| key = lowerCaseValue(key); | |
| //check if the key exists | |
| if (m_GameData.ContainsKey(key)) | |
| { | |
| bool returnedBool = (bool)m_GameData[key]; |
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
| are they getting this error? UnityEditor.Scripting.Compilers.MicrosoftCSharpCompiler.FillNETCoreCompilerOptions (WSASDK wsaSDK, System.Collections.Generic.List`1 arguments, System.String& argsPrefix) (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/MicrosoftCSharpCompiler.cs:186) | |
| UnityEditor.Scripting.Compilers.MicrosoftCSharpCompiler.StartCompiler () (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/MicrosoftCSharpCompiler.cs:303) | |
| UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling () (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:47) | |
| [11:50] | |
| Error building Player because scripts had compiler errors |
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
| /* Created by Chris Figueroa - @Kinifi | |
| * Create a script called AutoSave.cs | |
| */ | |
| using UnityEngine; | |
| using UnityEditor; | |
| using System.Collections; | |
| public class AutoSave : EditorWindow { |
NewerOlder