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
// | |
// http://www.twitter.com/kinifi | |
// | |
using System.IO; | |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
using UnityEditor.iOS.Xcode; |
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
Swift 3.0 | |
window.level = Int(CGWindowLevelForKey(.floatingWindow)) | |
window.level = Int(CGWindowLevelForKey(.maximumWindow)) |
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
/* | |
* playermovement.cs - attaches rigidbody onto gameobject in editor via RequireComponent, checks inputAxis via Input Axis Names (defaults to Horizontal, Vertical). | |
* Intention is to move a 2D sprite across the screen via Rigidbody2D | |
* All properties are private with defaults values. If you need to change a property use the methods to adjust them | |
* Note: This does not attach a collider or check colliders in anyway. That should be handled separately. | |
*/ | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; |
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
private void RunScript(string scriptPath, string arguments) | |
{ | |
ProcessStartInfo startInfo = new ProcessStartInfo(); | |
startInfo.FileName = Path.GetFullPath(scriptPath); | |
startInfo.UseShellExecute = true; | |
startInfo.CreateNoWindow = false; | |
if (!string.IsNullOrEmpty(arguments)) | |
startInfo.Arguments = arguments; |
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
/SteamBuildUploader/ContentBuilder/content | |
/SteamBuildUploader/ContentBuilder/builder | |
/.vs | |
/Library/ | |
/Temp/ | |
/Obj/ | |
/Build/ | |
/Builds/ | |
/Assets/AssetStoreTools* |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>{title}</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="generator" content="Minecraft-Overviewer {version}" /> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> |
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
/SteamBuildUploader/ContentBuilder/content | |
/SteamBuildUploader/ContentBuilder/builder | |
/.vs | |
/Library/ | |
/Temp/ | |
/Obj/ | |
/Build/ | |
/Builds/ | |
/Assets/AssetStoreTools* |
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
/* | |
* 1. Must be located in a "Editor" Folder in your Assets folder | |
* 2. Must have a script that is in the "typeof(SCRIPT HERE)" line that exists | |
*/ | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; |
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
/* | |
* Must be located in a folder called "Editor" | |
* Note: the %l is the shortcut for opening this window in unity. % = Alt/CMD button | |
*/ | |
using UnityEngine; | |
using UnityEditor; | |
using System; | |
using System.IO; | |
using System.Collections; |
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
/* | |
* Game Manager | |
* This is how we will save our persistent data such as: | |
* Logged in save data from a json file and assigning variables which we access in game | |
* With this Singleton we can store data we need for later use | |
* Example on how to use: GameManager.Instance.[Variable Name / Method Name] | |
* Methods and Variables must be public | |
* Note: A new singleton should be created per platform for achievements string literals and specific achievement methods | |
* | |
*/ |
NewerOlder