Skip to content

Instantly share code, notes, and snippets.

View EloiStree's full-sized avatar

Éloi Strée EloiStree

View GitHub Profile
@EloiStree
EloiStree / TransparentWindow.cs
Last active January 22, 2024 18:03
CodeMonkeyOverLayerTweakByChatGPT
// https://www.youtube.com/watch?v=RqgsGaMPZTw Code is from Code Monkey tweak by AI. If some one need.
// Don't forget to follow the video of the man , not an easy topic, and to like his video :)
using System;
using System.Drawing.Printing;
using System.Runtime.InteropServices;
using UnityEngine;
public class TransparentWindow : MonoBehaviour
{
@EloiStree
EloiStree / Test.cs
Created December 23, 2023 03:34
If like me you were block with Unity Asset Store Uploader that is log on the wrong account.
using AssetStoreTools.Uploader;
using AssetStoreTools.Uploader.Utility;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class Test : MonoBehaviour
{
@EloiStree
EloiStree / code.py
Created June 28, 2023 23:48
This was suppose to be a code to use multiplexer CD74HC4067 in my project. Works but not what I wanted.
import time
from machine import Pin
from machine import UART
class MultiPinIndex:
def __init__(self,channel, index_0_15):
self.m_channel=channel
self.m_index_0_15 =index_0_15
@EloiStree
EloiStree / Experiment_LoadMethodeFromExternalAssembly.cs
Created October 21, 2022 02:50
Reminder of how to call a methode from external DLL in Unity
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.IO.MemoryMappedFiles;
using System.Reflection;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.Events;
@EloiStree
EloiStree / UserSessionAndContextMono.cs
Last active September 13, 2022 13:47
Just a script to keep track of users and contexts while they play in a small app and use those information to record sessions.
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class UserSessionAndContextMono : MonoBehaviour
{
public delegate void FunctionID(string id);
@EloiStree
EloiStree / TransformToSkiTriplePointsMono.cs
Last active August 21, 2022 11:44
Transform Tri point curve to horizontal value for ski simulator
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.Events;
public class TransformToSkiTriplePointsMono : MonoBehaviour
{
@EloiStree
EloiStree / InjectSingletonMono.cs
Last active August 21, 2022 09:49
Hello DNSPY Injection In Unity
using UnityEngine;
using System;
using System.Globalization;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
@EloiStree
EloiStree / QuestHandToTransformBones.cs
Created June 22, 2022 21:08
Old way to access Oculus Hand Bone information
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static OVRSkeleton;
//REQUEST: Oculus Integration from the Asset store
public class QuestHandToTransformBones : MonoBehaviour
{
public SkeletonType m_handType;
@EloiStree
EloiStree / Experiment_MathPQuadrilateral.cs
Last active June 9, 2022 16:33
Irregular Quadrilater To Rect 2D Texture
/**
Full version of the project code: https://github.com/EloiStree/2022_06_06_IrregularQuadrilateralsToTexture2D
This file is just a reminder based on the code I created based on stack exchange.
Is is from that script that I designed a Unity Shader to resolved this problem.
If you have this issue or a similar one, I invite you to fork my unity code in the main git and try to make it yourown.
Very very big thanks to the guy on Stack Exhange:
https://math.stackexchange.com/users/24173/patapom
*/
@EloiStree
EloiStree / Experiment_RNGSimulatorMono.cs
Created May 7, 2022 14:56
Script to simulate RNG in Wow
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Experiment_RNGSimulatorMono : MonoBehaviour
{
public float m_dropEveryNAttemps =4000;
public float m_pourcentChangeToDrop = 0f;
public float m_timeFarmed=3600;