The code behind This unity inspector.
Sorry for the missing comments, I'll add them later
Ha, lol, that's not going to happen
Song: Like It's Over by Jia Wolf.
| using UnityEngine; | |
| using System.Collections; | |
| using UnityEngine.UI; | |
| using System.Collections.Generic; | |
| // This script can easily be modified to work as a chat box. | |
| // Created by Tom Parker A.K.A. Those45Ninjas. | |
| // | |
| // It works by keeping track of each 'line' in a list. Then remove a few | |
| // lines from the list if there are too many lines. After every Update |
| // This script was written by Tom Parker. | |
| // I created it for one project and ever since I have used this | |
| // script in every game that uses a tile system of any kind. | |
| // I found it so useful that I decided that you might like it. | |
| // Please feel free to fork it, Make it better or improve it. | |
| // If you use it in a project I would love to hear about it. | |
| // tom.parker1235@gmail.com, Twitter: @Those45Ninjas | |
| using System; |
| using UnityEngine; | |
| using System.Collections.Generic; | |
| using System; | |
| public class HandheldItem : MonoBehaviour | |
| { | |
| internal SteamVR_TrackedController controller; | |
| internal float pickupRadius; | |
| public bool Highlighted = false; |
The code behind This unity inspector.
Sorry for the missing comments, I'll add them later
Ha, lol, that's not going to happen
Song: Like It's Over by Jia Wolf.
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using UnityEngine; | |
| public enum Direction { Up, Front, Right, Back, Left, Down }; | |
| [Serializable] | |
| public struct VoxPos: IEquatable<VoxPos>, IEqualityComparer<VoxPos> { |
| rem iterate over each mkv file in the mkv subdirectory | |
| rem and run the ffmpeg command to convert it. | |
| for %%f in (mkv\*.mkv) do ( | |
| ffmpeg -n -i mkv\%%~nf.mkv %%~nf.mp4 | |
| ) | |
| pause |
| @echo off | |
| rem This simple batch script will record your desktop at 4 frames every second | |
| rem and stuff it into a 60 fps video. | |
| rem Essentially, desktop time lapses without dealing with thousands of images | |
| rem or ridiculously large files. | |
| rem You will have to modify this script if you don't have a 1440p display as | |
| rem your primary display. | |
| /* | |
| Original author: Christopher Mark Jones | |
| https://www.cjonesdev.com/blog/unity-blender-and-instancing-models | |
| Slightly modified by me, works with unity 2018.2 | |
| */ | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEditor; |
| /// <summary> | |
| /// This program draws a cute cat on your console. | |
| /// View more at the gist over here. | |
| /// https://gist.github.com/Those45Ninjas/7a18755b07aff61c4f37c1c27de449c6 | |
| /// | |
| /// This cute cat was sourced from textart4u. | |
| /// http://textart4u.blogspot.com/2013/02/cute-cat-face-ascii-text-art.html | |
| /// | |
| /// Code written by Those45Ninjas | |
| /// </summary> |