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 System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace LuviKunG | |
{ | |
/// <summary> | |
/// This is Secrets of Grindea App Instance Main Class. | |
/// Using for solve the endless math dungeon puzzle in the game. |
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
@echo off | |
setlocal enabledelayedexpansion | |
set i=0 | |
for %%f in (*.apk) do ( | |
set /A i+=1 | |
set apk[!i!]=%%f | |
) | |
echo Available APK files: | |
for /L %%i in (1,1,%i%) do echo [%%i] !apk[%%i]! | |
set /p index=Enter the index of the APK file you want to install: |
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
var xor = (...args) => { | |
let x = []; | |
for (let i = 0; i < args.length; i++) { | |
let y = []; | |
for (let j = 0; j < args.length; j++) | |
y.push(i == j ? args[j] : !args[j]); | |
x.push(and(...y)); | |
} | |
let w = and(...args); | |
return or(...x, w); |
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
@echo off | |
echo Deleting all files in the 'Library' folder. | |
del /s /q /f "Library/" | |
rd /s /q "Library/" | |
echo Deleting all files in the 'Logs' folder. | |
del /s /q /f "Logs/" | |
rd /s /q "Logs/" | |
echo Deleting all files in the 'obj' folder. | |
del /s /q /f "obj/" | |
rd /s /q "obj/" |
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
@echo off | |
set packageFolder="Your package folder in unity Assets folder" | |
set /p version=Enter Version: | |
echo %version% | |
git subtree split --prefix="Assets/%packageFolder%" --branch upm | |
git tag %version% upm | |
pause |
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.Collections.Generic; | |
/// <summary> | |
/// Manageable instance class of scripting define symbols group. | |
/// </summary> | |
public sealed class ScriptingDefineSymbols | |
{ | |
private const char SDS_SEPARATOR = ';'; | |
private HashSet<string> m_list; |
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.Collections.Generic; | |
using System.IO; | |
using System.Text; | |
/* | |
CSV Reader (with parser). | |
Created by @LuviKunG | |
https://github.com/LuviKunG | |
https://gist.github.com/LuviKunG | |
*/ |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
// Serializable Dictionary for Unity (by LuviKunG) | |
// https://gist.github.com/LuviKunG | |
namespace LuviKunG.Serializables | |
{ |
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 UnityEngine; | |
using UnityEngine.InputSystem; | |
namespace Prototype | |
{ | |
[RequireComponent(typeof(CharacterController))] | |
public sealed class SimpleCharacterController : MonoBehaviour | |
{ | |
[SerializeField] | |
private CharacterController m_characterController = default; |