Swiss triplets modulation https://gscribe.com/share/Hvpfzxw9BAfniZiDA
This file contains hidden or 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
/* | |
* This confidential and proprietary software may be used only as | |
* authorised by a licensing agreement from ARM Limited | |
* (C) COPYRIGHT 2014 ARM Limited | |
* ALL RIGHTS RESERVED | |
* The entire notice above must be reproduced on all authorised | |
* copies and copies may only be made to the extent permitted | |
* by a licensing agreement from ARM Limited. | |
*/ |
This file contains hidden or 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
public class EventClassWithoutEvent | |
{ | |
public Action OnChange { get; set; } | |
public void Raise() | |
{ | |
if (OnChange != null) | |
{ | |
OnChange(); | |
} | |
} |
This file contains hidden or 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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using System.IO; | |
public class ClearShaderCache : MonoBehaviour | |
{ | |
[MenuItem("Tools/Clear shader cache")] |
This file contains hidden or 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 "Name" { | |
Properties { | |
name ("display name", Range (min, max)) = number | |
name ("display name", Float) = number | |
name ("display name", Int) = number | |
name ("display name", Color) = (number,number,number,number) | |
name ("display name", Vector) = (number,number,number,number) |
This file contains hidden or 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
// | |
// Controls: | |
// - Enable free look with right mouse button | |
// | |
// | |
using UnityEngine; | |
public class FreeCamera : MonoBehaviour { | |
public bool enableInputCapture = true; |
This file contains hidden or 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
// | |
// Controls: | |
// - Enable free look with right mouse button | |
// | |
// | |
using UnityEngine; | |
public class FreeCamera : MonoBehaviour { | |
public bool enableInputCapture = true; |
This file contains hidden or 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 System.Linq; | |
public class EnvPresetChooser : MonoBehaviour { | |
public Transform[] presets { get { return transform.Cast<Transform>().ToArray(); } } | |
public int GetActivePreset() { | |
for(int i = 0, n = transform.childCount; i < n; ++i) | |
if(transform.GetChild(i).gameObject.activeSelf) |
This file contains hidden or 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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class EnableLatentFrame : MonoBehaviour | |
{ | |
void Start () { | |
UnityEngine.VR.WSA.HolographicSettings.ActivateLatentFramePresentation( true ); | |
} |
This file contains hidden or 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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
public class DisableAnimations : AssetPostprocessor | |
{ | |
void OnPreprocessModel() | |
{ | |
var modelImporter = assetImporter as ModelImporter; |
NewerOlder