Skip to content

Instantly share code, notes, and snippets.

View yKimisaki's full-sized avatar

Yoshitaka Kimisaki yKimisaki

View GitHub Profile
using UnityEngine;
using UnityEngine.UI;
public class FrameDropper : MonoBehaviour
{
public float IntervalSpan = 3f;
public float DropMinTime = 0.1f;
public float DropMaxTime = 0.3f;
public Text IntervalRestText;
using System;
using System.Reflection;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Tonari.Unity
{
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Tonari.Linq
{
public static class Repetition
{
public static IEnumerable<T> Create<T>(Func<T> factory, int count)
{
/*
MIT License
Copyright (c) 2019 Yoshitaka Kimisaki
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
/*
MIT License
Copyright (c) 2019 Yoshitaka Kimisaki
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
/*
MIT License
Copyright (c) 2019 Yoshitaka Kimisaki
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
using System;
namespace UhoProtocol
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(Uho("Hello, World!"));
Console.WriteLine(Ohu(Uho("Hello, World!")));
namespace Tonari.Linq
{
public static class ReadOnlyListExtensions
{
private static Random Random = new Random();
// あらかじめ1~必要数ぐらいの数列をキャッシュ
private const int LinedIntegersLength = 1024;
private static int[] LinedIntegersCache;
#if CSHARP_7_OR_LATER
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
using System;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.ResourceManagement;
namespace UniRx.Async
{
using System;
using System.Numerics;
namespace QuaternionCheck
{
class Program
{
static void Main(string[] args)
{
// 回転させたい点