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 System; | |
using UnityEngine; | |
namespace LogWrapper { | |
public class LogWrapperDLL { | |
public static void log(object msg){ | |
Debug.Log(msg); | |
} |
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
//attach this in scene to prevent null reff when close game | |
//https://www.reddit.com/r/Unity3D/comments/35swhf/how_do_you_prevent_errors_when_your_game_closes/ | |
using UnityEngine; | |
using System.Collections; | |
public class Deactivator : MonoBehaviour | |
{ | |
void OnApplicationQuit() | |
{ | |
MonoBehaviour[] scripts = Object.FindObjectsOfType<MonoBehaviour>(); |
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
Library/ | |
Temp/ | |
UnityVS/ | |
UnityVS.meta | |
.vs/ | |
*.DS | |
*.csproj | |
*.sln | |
*.userprefs | |
*.unityproj |
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
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting | |
#set directory | |
tounityproject() { cd Development/UnityProject/; } | |
myworkspace() { | |
open -a unity; | |
open -a evernote; | |
open -a ‘google chrome’; | |
open -a line; |
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
// my edited parse express application adding the parse-server module to expose Parse | |
// compatible API routes. | |
const express = require('express') | |
const ParseServer = require('parse-server').ParseServer | |
const path = require('path') | |
let api = new ParseServer({ | |
databaseURI: 'mongodb://127.0.0.1:27017/dev', //*** | |
cloud: path.join(__dirname, '/cloud/main.js'), |