Skip to content

Instantly share code, notes, and snippets.

😱
Coding 24/7 !

aybe aybe

😱
Coding 24/7 !
  • Paris, FR
Block or report user

Report or block aybe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View podpaint.pas
////////////////////////////////////////////////////////////////////////////////
//
// Borland Delphi Runtime Library
// Planet of Death (POD) File Classes
//
// The original file is: PodFiles.pas, released 2004-09-01.
// The initial developer of the code is: Nico Bendlin <nicode@gmx.net>.
//
// Portions created by Nico Bendlin are
// Copyright (c) 2004 Nico Bendlin.
@aybe
aybe / EditorWindowExtensions.cs
Created Jan 22, 2019
Extensions for UIElements
View EditorWindowExtensions.cs
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using UnityEngine.UIElements;
// ReSharper disable once CheckNamespace
namespace UnityEditor
View ColorCube.obj
# RGBW
v -0.5 -0.5 -0.5 1.0 0.0 0.0
v -0.5 +0.5 +0.5 0.0 1.0 0.0
v +0.5 -0.5 +0.5 0.0 0.0 1.0
v +0.5 +0.5 -0.5 1.0 1.0 1.0
# CMYK
v +0.5 +0.5 +0.5 0.0 1.0 1.0
v +0.5 -0.5 -0.5 1.0 0.0 1.0
v -0.5 +0.5 -0.5 1.0 1.0 0.0
View Unity Right Click Open Folder.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell\Unity5]
@=""
"Icon"="%ProgramFiles%\\Unity\\Editor\\Unity.exe"
"MUIVerb"="Open as Unity Project"
[HKEY_CLASSES_ROOT\Folder\shell\Unity5\Command]
@="cmd /c start /D\"c:\\Program Files\\Unity\\Editor\\\" Unity.exe -projectPath \"%1\""
View BitCrusher.cs
public class BitCrusher : MonoBehaviour
{
[Range (1f,16f)]
public float bits = 16f;
[Range (20f,48000f)]
public float sampleRate = 48000f;
private float phase = 0;
private float last = 0;
@aybe
aybe / UnityEditorIcons.txt
Created Oct 16, 2016 — forked from MattRix/UnityEditorIcons.txt
A list of all the built-in EdtiorGUI icons in Unity. Use EditorGUIUtility.IconContent([icon name]) to access them.
View UnityEditorIcons.txt
ScriptableObject Icon
_Popup
_Help
Clipboard
SocialNetworks.UDNOpen
SocialNetworks.Tweet
SocialNetworks.FacebookShare
SocialNetworks.LinkedInShare
SocialNetworks.UDNLogo
animationvisibilitytoggleoff
@aybe
aybe / RT.cs
Created Oct 16, 2016 — forked from MattRix/RT.cs
RT - Simple coroutine tweens
View RT.cs
using System;
using System.Collections;
using UnityEngine;
public static class RT
{
static public IEnumerator Tween(float duration, Action<float> task, Func<float,float> easeFunc = null, float delay = 0)
{
while(delay > 0)
{
@aybe
aybe / RandomMover.cs
Created Oct 16, 2016 — forked from MattRix/RandomMover.cs
RandomMover - A thing that uses RT
View RandomMover.cs
using UnityEngine;
using System.Collections;
using System;
using Random = UnityEngine.Random;
public class RandomMover : MonoBehaviour
{
public float distance = 1f;
public float duration = 1f;
public float delay = 0.0f;
@aybe
aybe / RTEase.cs
Created Oct 16, 2016 — forked from MattRix/RTEase.cs
RTEase - simple easing equations
View RTEase.cs
public static class RTEase
{
public static Func<float,float> Linear = (t) => { return t; };
public static Func<float,float> Instant = (t) => { return t < 1f ? 0f : 1f;};
public static Func<float,float> QuadIn = (t) => { return t * t; };
public static Func<float,float> QuadOut = (t) => { return 2f*t - t*t;};
public static Func<float,float> QuadInOut = (t) => { return (t <= 0.5f) ? (t*t*2f) : (-1.0f + 4f*t + -2f*t*t);};
public static Func<float,float> CubeIn = (t) => { return t * t * t; };
public static Func<float,float> CubeOut = (t) => { return 1f - CubeIn(1f - t); };
public static Func<float,float> CubeInOut = (t) => { return (t <= 0.5f) ? CubeIn(t * 2f) * 0.5f : CubeOut(t * 2f - 1f) * 0.5f + 0.5f; };
You can’t perform that action at this time.