<author>/<type>/<ticket>/<title>
revett/feature/24101/skeleton-service-for-email-sender
| using UnityEngine; | |
| using System.Collections; | |
| using System.Runtime.InteropServices; | |
| public class VideoPicker : MonoBehaviour { | |
| public Texture2D shareButtonImage; // Use this for initialization | |
| [DllImport("__Internal")] | |
| private static extern void OpenVideoPicker(string game_object_name, string function_name); |
| /* OpenSimplex Noise in C# | |
| * Ported from https://gist.github.com/KdotJPG/b1270127455a94ac5d19 | |
| * and heavily refactored to improve performance. */ | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Runtime.CompilerServices; | |
| namespace NoiseTest |
| public AudioSource audioSauce; | |
| public string CurrentAudioInput = "none"; | |
| int deviceNum = 0; | |
| void Start() | |
| { | |
| string[] inputDevices = new string[Microphone.devices.Length]; | |
| deviceNum = 0; |
| // https://frarees.github.io/default-gist-license | |
| using System; | |
| using UnityEngine; | |
| [AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)] | |
| public class MinMaxSliderAttribute : PropertyAttribute | |
| { | |
| public float Min { get; set; } | |
| public float Max { get; set; } |
| // Wizard to convert a cubemap to an equirectangular cubemap. | |
| // Put this into an /Editor folder | |
| // Run it from Tools > Cubemap to Equirectangular Map | |
| using UnityEditor; | |
| using UnityEngine; | |
| using System.IO; | |
| class CubemapToEquirectangularWizard : ScriptableWizard { |
| Simple demonstrations of putting AVR microcontrollers to sleep in power-down mode, | |
| which results in minimum current. Coded with Arduino IDE version 1.0.4 (and with | |
| the Arduino-Tiny core for the ATtiny MCUs, http://code.google.com/p/arduino-tiny/) | |
| For ATmega328P, ~0.1µA. | |
| For ATtinyX5 revisions that implement software BOD disable, ~0.1µA, | |
| for ATtinyX5 revisions that don't, ~20µA. |