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.Collections.Generic; | |
| using UnityEngine.Assertions; | |
| using System; | |
| public class SkinnedMeshUpdater : MonoBehaviour | |
| { | |
| [SerializeField] | |
| SkinnedMeshRenderer original; |
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; | |
| using System.Collections.Generic; | |
| using System.Text.RegularExpressions; | |
| using UnityEngine; | |
| #if UNITY_EDITOR | |
| using UnityEditor; | |
| [InitializeOnLoad] | |
| #endif |
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.Generic; | |
| /// <summary>A Kalman filter implementation for <c>float</c> values.</summary> | |
| public class KalmanFilterFloat { | |
| //----------------------------------------------------------------------------------------- | |
| // Constants: | |
| //----------------------------------------------------------------------------------------- | |
| public const float DEFAULT_Q = 0.000001f; |
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 "Mattatz/UVTransform" { | |
| Properties { | |
| _MainTex ("Base (RGB)", 2D) = "white" {} | |
| _TexScale ("Scale of Tex", Float) = 1.0 | |
| _TexRatio ("Ratio of Tex", Float) = 1.0 | |
| _Theta ("Rotation of Tex", Float) = 0.0 | |
| _PlaneScale ("Scale of Plane Mesh", Vector) = (1, 1, 0, 0) | |
| } |
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 "Mattatz/UVTransform" { | |
| Properties { | |
| _MainTex ("Base (RGB)", 2D) = "white" {} | |
| _TexScale ("Scale of Tex", Float) = 1.0 | |
| _TexRatio ("Ratio of Tex", Float) = 1.0 | |
| _Theta ("Rotation of Tex", Float) = 0.0 | |
| _PlaneScale ("Scale of Plane Mesh", Vector) = (1, 1, 0, 0) | |
| } |
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 UnityEditor; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using TMPro; | |
| using UnityEngine.UI; | |
| public class ReplaceFont |
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 UnityEditor; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using TMPro; | |
| using UnityEngine.UI; | |
| public class ReplaceFont |
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
| #import <AVFoundation/AVFoundation.h> | |
| extern "C" { | |
| void _EnableFlashlight(bool enable) { | |
| AVCaptureDevice *device = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeVideo]; | |
| if ([device hasTorch]) { | |
| [device lockForConfiguration:nil]; | |
| [device setTorchMode:enable ? AVCaptureTorchModeOn : AVCaptureTorchModeOff]; | |
| [device unlockForConfiguration]; |
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; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using Object = UnityEngine.Object; | |
| namespace Swing.Editor | |
| { | |
| public class EditorCoroutine |
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
| buildscript { | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| classpath 'com.android.tools.build:gradle:0.8.+' | |
| classpath 'com.deploygate:gradle:0.5' | |
| } | |
| } |
NewerOlder