Skip to content

Instantly share code, notes, and snippets.

View yKimisaki's full-sized avatar

Yoshitaka Kimisaki yKimisaki

View GitHub Profile
/*
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;
using Unity.Collections;
namespace Tonari.Text
{
public class UnityStringBuilder : IDisposable
{
private NativeArray<char> _buffer;
private int _bufferLength;
private int _position;

定格 is 信念(末永く使いましょう)。

2024/04/17

H/W Manufacturer Spec
P/U MSI MPG A1000G PCIE5
CPU AMD Ryzen 9 5900X
M/B MSI B550 GAMING PLUS
Memory Panram Value Series DDR4-2666 32GB CL17
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;
#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.Collections;
using System.Collections.Generic;
namespace Tonari.Linq
{
public static class Enumerable_ShrinkEx
{
public static IEnumerable<TSource[]> Shrink<TSource>(this IEnumerable<TSource> source)
{
using System;
using System.Reflection;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Tonari.Unity
{
using System;
using System.Collections.Generic;
using System.Linq;
using UniRx;
namespace Tonari.UniRx
{
public class ContinuousObservableQueue<T>
{
private Subject<Unit> _onAgitate;
using System.Collections.Generic;
using System.Linq;
using Tonari.Text;
using UnityEngine;
namespace Tonari.UnityEngine
{
public abstract class TypedPlayerPrefs<TKey, TValue>
{
// TODO: JsonUtilityが配列に対応したら直す
using System;
namespace Tonari.Text
{
public static class MiniRegex
{
private const char any = '?';
private const char wild = '*';
private const char bracketStart = '[';