This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Model to Prefab Batch Converter for Unity | |
// Loads all 3D models from a folder and saves them as prefabs. | |
// by Andy Miira (Andrei Müller), October 2019 | |
// | |
// | |
// [INSTRUCTIONS] | |
// 0) Add this script inside an "Editor" folder in your project. | |
// You must create this folder if it doesn't already exist. | |
// | |
// 1) Open Unity, then click on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Starfield" | |
{ | |
Properties | |
{ | |
_iMouse ("iMouse", Vector) = (0,0,0,0) | |
_Iterations ("Iterations", int) = 17 | |
_Formuparam ("Formuparam", float) = .53 | |
_Steps ("Steps", int) = 20 | |
_StepSize ("StepSize", float) = .1 | |
_Zoom ("Zoom", float) = .8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using UnityEditor; | |
using System.IO; | |
public class ExportLightprobe | |
{ | |
[MenuItem("Export/Export LightProbe")] | |
static void Export() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ingredients: | |
- 1.5 lbs of hot peppers. Mix and match whatever you want: jalepenos, anaheims, haberneros, etc. If you can get at least 0.5 lb ripened red I recommend doing so but if you cant all green peppers works as well. If you don't want it too hot don't add all the seeds. | |
- 8 T honey (preferably local, raw honey. If you don't really worry about what you eat you can use suger/brown sugar) | |
- 6 cloves of garlic | |
- 3 t salt | |
- 1/2 cup vinegar (preferably raw Apple Cider vineger. If you don't really worry about what you eat you can use white vinegar) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Kongregate API integration in Unity3D (UnityScript version) | |
// | |
// 1. Create a "KongAPI" game object in your very first scene. | |
// 2. Create a new script "KongAPI.js". | |
// 3. Fill it with the following code : | |
#pragma strict | |
static var isConnected:boolean = false; | |
static var userId:int = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2013 Calvin Rien | |
* | |
* Based on the JSON parser by Patrick van Bergen | |
* http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html | |
* | |
* Simplified it so that it doesn't throw exceptions | |
* and can be used in Unity iPhone with maximum code stripping. | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining |