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
# Unity | |
*.cginc text | |
*.cs diff=csharp text | |
*.shader text | |
# Unity YAML | |
*.mat merge=unityyamlmerge eol=lf | |
*.anim merge=unityyamlmerge eol=lf | |
*.unity merge=unityyamlmerge eol=lf | |
*.prefab merge=unityyamlmerge eol=lf |
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
# Exclude all "__GitExcluded__" folders and their meta files. | |
# Excluded folders can be used for storing test files, builds, backups and local only files. | |
__GitExcluded__/ | |
__GitExcluded__.meta | |
# Unity Project Folder | |
[Ll]ibrary/ | |
[Tt]emp/ | |
[Oo]bj/ | |
[Bb]uild/ |
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
# ignore all | |
* | |
# except the directives file and this gitignore file | |
!/directives.txt | |
!/.gitignore |
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 System; | |
using System.CodeDom; | |
using System.CodeDom.Compiler; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Collections.Specialized; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; |
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 System; | |
using System.Diagnostics.Contracts; | |
using UnityEngine; | |
using UnityEngine.Assertions; | |
namespace starikcetin | |
{ | |
public class CallbackAggregator | |
{ | |
private int JobCount { get; set; } |
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
/******************************************************************************* | |
* Don't Be a Jerk: The Open Source Software License. | |
* Adapted from: https://github.com/evantahler/Dont-be-a-Jerk | |
******************************************************************************* | |
* _I_ am the software author - JohannesMP on Github. | |
* _You_ are the user of this software. You might be a _we_, and that's OK! | |
* | |
* This is free, open source software. I will never charge you to use, | |
* license, or obtain this software. Doing so would make me a jerk. | |
* |
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
// container component | |
// a constructor is automatically generated for a component that has the same order with field declaration | |
// for example, for position component following ctor is generated: (x, y, z) | |
component position | |
float x | |
float y | |
float z | |
// component with single field |
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 UnityEditor; | |
using UnityEngine; | |
internal class Instantiator : ScriptableObject | |
{ | |
private static Instantiator _instance; | |
private static Instantiator Instance | |
{ | |
get | |
{ |
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 System; | |
using UnityEditor; | |
using UnityEngine; | |
public class NamespaceFillerAssetProcessor : UnityEditor.AssetModificationProcessor | |
{ | |
public static void OnWillCreateAsset(string path) | |
{ | |
path = path.Replace(".meta", ""); | |
var index = path.LastIndexOf(".", StringComparison.Ordinal); |
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
//NOTE: This is only a DICTIONARY with MOST character to keycode bindings... it is NOT a working cs file | |
//ITS USEFUL: when you are reading in your control scheme from a file | |
//NOTE: some characters SHOULD map to multiple keycodes (but this is impossible) | |
//since this is a dictionary, only 1 character is bound to 1 keycode | |
//EX: * from the keyboard will be read the same as * from the keypad... because they produce the same character in a text file | |
Dictionary<char, KeyCode> chartoKeycode = new Dictionary<char, KeyCode>() | |
{ | |
//-------------------------LOGICAL mappings------------------------- |
OlderNewer