Skip to content

Instantly share code, notes, and snippets.

View kalineh's full-sized avatar

kalineh

  • Funktronic Labs
  • Pasadena, CA
View GitHub Profile
@kalineh
kalineh / choco.bat
Last active August 4, 2021 18:39
choco install list
choco install -y --ignore-checksums
nvidia-display-driver
speccy
OpenHardwareMonitor
brave
steam
sharex
slack
discord
notion
@kalineh
kalineh / Jai.sublime-settings
Created December 8, 2020 18:22
Jai.sublime-settings
{
// put this in %APPDATA%\..\Roaming\Sublime Text 3\Packages\User
"extensions":
[
"jai"
]
}
@kalineh
kalineh / Jai.sublime-build
Last active December 9, 2020 06:35
Jai.sublime-build
{
// custom build command keybinds for user settings
// { "keys": ["ctrl+j"], "command": "build", },
// { "keys": ["ctrl+shift+j"], "command": "build", "args": { "variant": "run" } },
//"target": "jai_build", // not sure how it works but it makes the build not run
//"selector": "source.jai", // doesnt seem to work
"file_patterns": ["*.jai"] ,
"shell": true,
"cmd": [ "jai.exe", "${file_name}" ],
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class LocalizationDynamic
: MonoBehaviour
{
public string key;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
public static class LocalizationEditorMenu
{
[MenuItem("Custom/Localization Quick Import")]
@kalineh
kalineh / AStarReference.cs
Created February 8, 2020 22:44
AStarReference.cs
public class AStarReference
{
public class PathNode
{
public Vector3Int coord;
public float f;
public float g;
public float h;
}
@kalineh
kalineh / SpriteExporter.cs
Created April 8, 2019 07:17
SpriteExporter.cs
using System.IO;
using System.Collections.Generic;
using UnityEngine;
// have a list of sprites
// with a list of sprite config
#if UNITY_EDITOR
using UnityEditor;
@kalineh
kalineh / AutoSceneAdditiveLoad.cs
Created March 14, 2019 22:34
AutoSceneAdditiveLoad.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class AutoSceneAdditiveLoad
: MonoBehaviour
{
public Object sceneObj;
@kalineh
kalineh / RebuildRunHelper.cs
Created March 13, 2019 23:43
RebuildRunHelper.cs
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
public static class RebuildRunHelper
{
public enum RebuildStage
{
None,
@kalineh
kalineh / InlineInspector.cs
Last active February 15, 2019 08:56
InlineInspector.cs
using UnityEngine;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
public static class InlineInspector
{
private static Vector2 scroll;