Skip to content

Instantly share code, notes, and snippets.

View TigerHix's full-sized avatar
🎯
Warudo

Tiger Tang TigerHix

🎯
Warudo
View GitHub Profile
@mob-sakai
mob-sakai / ComponentConverter.cs
Created November 29, 2017 02:19
Component converter for Unity
#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
/// <summary>
/// Component converter for editor.
/// </summary>
public static class ComponentConverter
{
//%%%% v Context menu for editor v %%%%
@natsupy
natsupy / SearchType.cs
Last active September 16, 2017 13:04
Search type in root folder
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Newtonsoft.Json;
using UnityEngine;
public IEnumerator GetLevels()
{
@Shubhra22
Shubhra22 / ScreenshotNow.cs
Last active April 25, 2024 12:45
Screen Capture of particular UI elements
using UnityEngine;
using System.Collections;
using System.IO;
using UnityEngine.UI;
public class ScreenshotNow : MonoBehaviour
{
public RectTransform rectT; // Assign the UI element which you wanna capture
public Image img;
int width; // width of the object to capture
int height; // height of the object to capture
@MichaelRocks
MichaelRocks / MathExtensions.kt
Last active April 24, 2025 05:34
Math extension functions and float-math functions for Kotlin
/*
* Copyright 2015 Michael Rozumyanskiy
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
import me.frostythedev.killstats.core.Main;
import net.minecraft.server.v1_8_R2.*;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_8_R2.entity.CraftPlayer;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.HandlerList;
import org.bukkit.event.Listener;
import org.bukkit.event.inventory.InventoryClickEvent;
import org.bukkit.event.inventory.InventoryCloseEvent;
@cjddmut
cjddmut / EasingFunctions.cs
Last active April 25, 2025 05:17
Easing Functions for Unity3D
/*
* Created by C.J. Kimberlin
*
* The MIT License (MIT)
*
* Copyright (c) 2019
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights

OldRoot

Chapter 1: Seeding

It all started on July 11th, 2014. User /u/LewisGreen submitted this post to /r/Minecraft. LewisGreen got a private message from /u/OldRoot, containing an image link and the text "This is the beginning. Those who are pure will see what hides in the darkness". The image was a very dark screenshot of Minecraft in the forest, with a silhouette of a character in the background. /u/-Neroren- started the hunt. He brightened the image, revealing a transparent link to a SoundCloud track called "it has begun". It was a .wav sound file, which when run through spectrogram software revealed a message. "silentraven"

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
/// <summary>
/// A simple free camera to be added to a Unity game object.
///
/// Keys:
<?php
namespace shoghicp\MinecraftSimulator\task;
use pocketmine\Player;
use pocketmine\scheduler\PluginTask;
use shoghicp\MinecraftSimulator\Loader;
class MarqueeTask extends PluginTask{