Skip to content

Instantly share code, notes, and snippets.

View friuns2's full-sized avatar

Brutal Strike friuns2

View GitHub Profile
#!/bin/bash
: << '#__REM__'
Create a full-auto to iOS for the library specified. I do also builds the architecture download, more than one. Create architecture i386, x86_64, armv7, armv7s, arm64 by default.
#__REM__
TARGET_VERSION="1.5.0"
ARCHIVE_BASENAME="libjpeg-turbo"
using System.Linq;
using System;
using System.IO;
using System.Reflection;
using System.Text;
using UnityEditor;
using UnityEngine;
using Object = UnityEngine.Object;
using Random = UnityEngine.Random;
using print = UnityEngine.Debug;
@friuns2
friuns2 / a.md
Last active July 31, 2017 10:31
Top map creators 2017
user score
DEMEDEIROS 25891.502041101456
-dawidek 11101.050170183182
-31416 8709.584710359573
31416II 8196.38949418068
cjflash99 7661.849368572235
matyas05 7530.409405946732
-yusuf 6551.901862382889
@friuns2
friuns2 / top.md
Created July 31, 2017 20:53
Top take downs
playerName takedown firstPlace
-bnm 12104 3274
-Player 6677 774
tomo092 6598 1079
-player 6326 957
-og61959 4099 602
Shakerman 3791 580
-Lulu1000 3721 454
@friuns2
friuns2 / corontinue.cs
Created January 8, 2018 13:51
corontinue impl
using System;
using System.Collections;
using System.Collections.Generic;
//your application logic
public class MyGameObject : MonoBehaviour
{
public override void Awake()
{
StartCorontinue(MyCorontinueMethod());
void Update()
{
foreach (var a in GetDontDestroyOnLoadScene().GetRootGameObjects())
{
if (a.name == "Imposter Camera")
{
a.hideFlags = HideFlags.None;
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Specialized;
namespace ContinuousLinq.Collections
{
public class KeyEqualityComparer<T> : IEqualityComparer<T>
{
using System.Collections.Generic;
using GPUInstancer;
using SunTemple;
using UnityEditor;
using UnityEngine;
public class OptimizeScene : MonoBehaviour
{
public int maxCnt=50;
public GPUInstancerPrefabManager prefabManager;
@friuns2
friuns2 / PlayerLoop.cs
Created July 3, 2019 10:56 — forked from LotteMakesStuff/PlayerLoop.cs
Player Loop Visualizer: Built to explore the new PlayerLoopSystem api in Unity 2018.1b2. This tool shows you all the PlayerLoop systems that unity uses to update a frame, and demos how to add your own and even remove systems from the player loop. For more info see the patreon post https://www.patreon.com/posts/unity-2018-1-16336053
// Put this in an editor folder
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.Experimental.LowLevel;
using UnityEngine.Profiling;
@friuns2
friuns2 / test64.cs
Created December 16, 2019 12:22
perofrmance test
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.Rendering;
public class Test64 : MonoBehaviour
{
public bool mtRendering;
#if UNITY_EDITOR
public void OnValidate()