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
;; General Settings | |
(setq inhibit-startup-screen t) | |
(setq vc-follow-symlinks t) | |
(setq backup-directory-alist `((".*" . ,temporary-file-directory))) | |
(setq auto-save-file-name-transforms `((".*" ,temporary-file-directory t))) | |
(setq delete-by-moving-to-trash t) | |
;; Visuals | |
(scroll-bar-mode -1) | |
(tool-bar-mode -1) |
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
using UnityEngine; | |
using System.Collections; | |
public class Vitality : MonoX | |
{ | |
[SerializeField] private int maxAmount; | |
[SerializeField] private int currentAmount; | |
public delegate void VitalityEvent(MonoX sender, Vitality receiver); | |
public event VitalityEvent Healed; |
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
" Method Jumping | |
nnoremap <buffer> ( :<c-u>call <SID>JumpMethod('{', 'W', 'n')<cr> | |
nnoremap <buffer> ) :<c-u>call <SID>JumpMethod('{', 'Wb', 'n')<cr> | |
nnoremap <buffer> ]M :<c-u>call <SID>JumpMethod('}', 'W', 'n')<cr> | |
nnoremap <buffer> [M :<c-u>call <SID>JumpMethod('}', 'Wb', 'n')<cr> | |
function! s:JumpMethod(char, flags, mode) | |
let original_cursor = getpos('.') | |
if a:mode == 'v' | |
normal! gv |
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
using UnityEngine; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class Range | |
{ | |
private int min; | |
private int max; |
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
using UnityEngine; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using Parse; | |
using ParseObjects; | |
public class UserAccount : MonoBehaviour | |
{ | |
[SerializeField] private bool useEditorService; |
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
using UnityEngine; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
public abstract class MonoSingleton<T> : MonoBehaviour where T : MonoBehaviour | |
{ | |
protected bool isBeingDestroyed; | |
protected string timeStamp; | |
private static MonoSingleton<T> instance; |
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
using UnityEngine; | |
using System; | |
using System.Reflection; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class Sound : MonoBehaviour | |
{ | |
[SerializeField] private SoundRepo soundFX; |
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
using UnityEngine; | |
using System; | |
using System.Linq; | |
using System.Reflection; | |
using System.Collections; | |
using System.Collections.Generic; | |
using Parse; | |
using ParseObjects; | |
public class ParseObjectSyncher : MonoBehaviour |
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 &shell =~# 'fish$' | |
set shell=bash | |
endif | |
set nocompatible | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
filetype off | |
call neobundle#begin(expand('~/.vim/bundle/')) | |
" All | |
NeoBundleFetch 'Shougo/neobundle.vim' |
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
" Vim color file | |
" | |
" " __ _ _ _ " | |
" " \ \ ___| | |_ _| |__ ___ __ _ _ __ ___ " | |
" " \ \/ _ \ | | | | | _ \ / _ \/ _ | _ \/ __| " | |
" " /\_/ / __/ | | |_| | |_| | __/ |_| | | | \__ \ " | |
" " \___/ \___|_|_|\__ |____/ \___|\____|_| |_|___/ " | |
" " \___/ " | |
" | |
" "A colorful, dark color scheme for Vim." |
NewerOlder