Skip to content

Instantly share code, notes, and snippets.

View kobakoto-jy's full-sized avatar

kobakoto kobakoto-jy

View GitHub Profile
@kobakoto-jy
kobakoto-jy / ParallelCoroutineQueue.cs
Created January 27, 2022 14:46
IEnumratorをある程度同時実行しつつ、全部完了するまで待機してくれる感じの奴
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 指定した数だけ同時実行するコルーチンのキュークラス;
/// 実行されるコルーチンはtargetBehaviourを使って生成され;
/// exeCoroutineにパスワードと共に登録する;
/// コルーチンは役目を終えたら;
@kobakoto-jy
kobakoto-jy / TextFadeEffecter.cs
Created January 21, 2022 02:57
UnityのTextmeshProで文字を左からフェードして表示させるための奴
using UnityEngine;
using TMPro;
namespace TMExtension
{
// Function for TextmeshPro to fade text.
public class TextFadeEffecter : MonoBehaviour
{
@kobakoto-jy
kobakoto-jy / ShortcutContextItems.cs
Created February 5, 2019 14:43
Ctrl+LでSceneビューのUILayer表示非表示を切り替える
#if UNITY_EDITOR
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System;
namespace AILib.Editor
{