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 "UI/BoxScaleWave" | |
{ | |
Properties | |
{ | |
_SplitCount("SplitCount", int) = 1 | |
_OriginX("Origin X", Range(0, 1)) = 0 | |
_OriginY("Origin Y", Range(0, 1)) = 0 | |
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} | |
_Color ("Tint", Color) = (1,1,1,1) |
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 UnityEditor; | |
public class EditorGUILayoutEx { | |
/// <summary> | |
/// インデントレベル設定を考慮した仕切り線. | |
/// </summary> | |
/// <param name="useIndentLevel">インデントレベルを考慮するか.</param> |
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; | |
public class LengthSpeedTest : MonoBehaviour { | |
int testCount = 1000000; | |
const int ArrayLength = 1 << 2; | |
readonly int mask = ArrayLength - 1; | |
int idx = 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
public interface IUpdatable { | |
void UpdateMe(); | |
} |
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; | |
namespace GokUtil.UpdateManager | |
{ | |
public class UpdateManager : MonoBehaviour | |
{ | |
const int InitialSize = 16; | |
private int tail = 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
using UnityEngine; | |
public class DummyComponent : MonoBehaviour { } |
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; | |
public class LinearMove : MonoBehaviour { | |
[SerializeField] private Vector3 destPos; | |
[SerializeField] private float tweenTime; | |
private bool isMoving = false; |