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;

定格 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 System;
using Unity.Collections;
namespace Tonari.Text
{
public class UnityStringBuilder : IDisposable
{
private NativeArray<char> _buffer;
private int _bufferLength;
private int _position;
/*
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
@yKimisaki
yKimisaki / grpc_csharp_ext_dummy_stubs.c
Last active August 9, 2023 10:13
なんとgRPCの.unitypackageに入ってるgrpc_csharp_ext_dummy_stubsが不完全なので、IL2CPPビルドでdlopenとかエラー出たらこれで上書きすればいいと思います
// Copyright 2019 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
using System;
namespace UhoProtocol
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(Uho("Hello, World!"));
Console.WriteLine(Ohu(Uho("Hello, World!")));
/*
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
/*
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
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: