並び順

ブックマーク数

期間指定

  • から
  • まで

201 - 240 件 / 570件

新着順 人気順

C#の検索結果201 - 240 件 / 570件

  • Awaitable 使いづらそう問題 - Qiita

    Unity 2023 改め Unity 6 で新登場の Awaitable の癖が強い問題。 なぜ await するだけで実行スレッドが変わるのか 問題 !! 素直に await すれば良いじゃん? 追記: Awaitable の注意点 GetResult メソッドは未定義動作 複数回 await 出来ない ※ 実質的に RunOnMainThread では? ※ Awaitable から Task への変換 ※ async メソッドを実装したときに起きること Continuation(継続タスク) おわりに なぜ await するだけで実行スレッドが変わるのか まずは Awaitable.MainThreadAsync の仕組みについて。 Unity 公式の UnityCsReference を見ればわかる通り、メインスレッドで実行されている同期コンテキストに対して Post しているか

      Awaitable 使いづらそう問題 - Qiita
    • Mac版Visual Studioのサポート終了が正式に発表

      Spring BootによるAPIバックエンド構築実践ガイド 第2版 何千人もの開発者が、InfoQのミニブック「Practical Guide to Building an API Back End with Spring Boot」から、Spring Bootを使ったREST API構築の基礎を学んだ。この本では、出版時に新しくリリースされたバージョンである Spring Boot 2 を使用している。しかし、Spring Boot3が最近リリースされ、重要な変...

        Mac版Visual Studioのサポート終了が正式に発表
      • C# ASP.NET CoreでJWT認証を実装 - Qiita

        using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.IdentityModel.Tokens; using System.Text; var builder = WebApplication.CreateBuilder(args); // JWT認証の設定 builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) .AddJwtBearer(options => { options.TokenValidationParameters = new TokenValidationParameters { ValidIssuer = builder.Configuration["Jwt:Issuer"], ValidAu

          C# ASP.NET CoreでJWT認証を実装 - Qiita
        • ISpanFormattableを使おう - Qiita

          はじめに この記事はC# Advent Calendar 2023の13日目の記事です。 12日目の記事は @aneuf による【C#】DefaultInterpolatedStringHandler を StringBuilder 的に使うでした。 ISpanFormattableとは ISpanFormattableとはString Interpolationで呼ばれるノーアロケーションな文字列生成インターフェースです。 このインターフェースを実装していない場合はstring ToString()が呼ばれてstringクラスのインスタンスがアロケートされてしまうのですが、そのアロケーションがない分高速に動作します。 残念なことにStringBuilderでは使うことができないようなのですが、それでも依然として強力な機能です。 (AppendSpanFormattableというものはin

            ISpanFormattableを使おう - Qiita
          • 配列を初期化する (List, IList, ImmutableArray, etc. も初期化する) 《C#12》《コレクション式》 - Qiita

            コレクション式の構文 (.net7.0 / C#11)までの環境から来た人は見慣れないかもしれませんが、[ 値リスト ]の書式でコレクションを表現できます。この時、配列なのかListなのかImmutableArrayなのか、どんなコレクションなのか意識せずに書けるのがコレクション式の最大のメリットです。 どのコレクション型になるかは、左辺から型推論されます。

              配列を初期化する (List, IList, ImmutableArray, etc. も初期化する) 《C#12》《コレクション式》 - Qiita
            • Refactor your code with C# collection expressions - .NET Blog

              Catch up on 16 sessions from .NET Conf: Focus on AI exploring how .NET developers can leverage AI libraries and features to build smarter applications, enhance productivity, and provide better user experiences. This post is the second in a series of posts covering various refactoring scenarios that explore C# 12 features. In this post, we’ll look at how you can refactor your code using collection

                Refactor your code with C# collection expressions - .NET Blog
              • Getting started with UI testing .NET MAUI apps using Appium - .NET Blog

                Join us LIVE where we’ll dive deep into the world of AI, exploring how .NET developers can leverage AI libraries and features to build smarter applications, enhance productivity, and provide better user experiences. Testing is a crucial part of software development to ensure the quality of your application. While there are many forms of testing, one that is particularly popular is user-interface t

                  Getting started with UI testing .NET MAUI apps using Appium - .NET Blog
                • .NET GraphQL Client のリアル

                  ■イベント イマドキのC# .NET Web開発 〜gRPC, GraphQL, Blazorもあるよ〜 https://sansan.connpass.com/event/316664/ ■発表者 Sansan Engineering Unit Data Hubグループ ⽊下 賢也 …

                    .NET GraphQL Client のリアル
                  • Visual Studio C++ Build Tools のライセンスが更新されて商用利用でも VS ライセンスなしに OSS のコンパイルに使えるようになりました - Qiita

                    Visual Studio C++ Build Tools のライセンスが更新されて商用利用でも VS ライセンスなしに OSS のコンパイルに使えるようになりましたVisualStudioeula 背景 もともとは C++ Built Tools(MSVC の CLI tool 群や MSVC header, library など)は, Visual Studio のライセンスがないと使えませんでした. いつの間にかライセンス term が更新され OSS ライブラリのビルド(たとえば MFC とかに依存していたりでどうしても MSVC が必要なケースとか)には利用 OK と緩和されてました. 自社の proprietary C++ project が, MSVC 必須ではないが, Third party OSS ライブラリがどうしても MSVC でないとビルドできない場合, C++ B

                      Visual Studio C++ Build Tools のライセンスが更新されて商用利用でも VS ライセンスなしに OSS のコンパイルに使えるようになりました - Qiita
                    • C#でのWaitHandle待機スレッド調査 - Qiita

                      スレッド別、待機実現方法 メインスレッド メインスレッドでWaitHandle.WaitOneメソッドを呼ぶ。 ThreadPoolワーカースレッド Task.RunとWaitHandle.WaitOneメソッドを組み合わせる。 ThreadPool.QueueUserWorkItemとWaitHandle.WaitOneメソッドを組み合わせる。 ThreadPool.RegisterWaitForSingleObjectメソッドを使う。 明示的に生成したスレッド new Thread(), _beginthread(), pthread_create()などでスレッドを生成して利用する。それらのスレッド中でWaitHandle.WaitOneメソッドを呼ぶ。 なおスレッド生成タイミングや生成数にも複数のやり方がある。WaitHandle1つ毎に都度生成&破棄、起動時に固定数生成、負荷に応

                        C#でのWaitHandle待機スレッド調査 - Qiita
                      • Verified Permissions / Verified Access の Cedar ポリシー作成時に役に立ちそうな Visual Studio Code 拡張と Cedar CLI を試してみた | DevelopersIO

                        Verified Permissions / Verified Access の Cedar ポリシー作成時に役に立ちそうな Visual Studio Code 拡張と Cedar CLI を試してみた いわさです。 少し前のアップデートで AWS Verified Access のポータル上でポリシーアシスタントという機能が使えるようになり、Cedar ポリシーの実装がしやすくなりました。 ただし、普段の開発時にはもう少し Cedar の実装をサポートしてくれる機能が欲しいと思っていました。 そんな中、昨日次の AWS 公式ブログが公開されました。 ここでは Cedar ポリシーの検証を CI/CD パイプラインで行う仕組みが紹介されています。 その中でいくつかのツールに触れられていまして、Visual Studio Cdoe の Cedar 拡張と Cedar CLI については普段

                          Verified Permissions / Verified Access の Cedar ポリシー作成時に役に立ちそうな Visual Studio Code 拡張と Cedar CLI を試してみた | DevelopersIO
                        • VisualStuidoでOpenGLする。 - Qiita

                          VisualStudioでOpenGLを始めたい人向けのメモみたいなものです。 環境作成とウィンドウを表示をしてから簡単な図形を表示するところまでやっています。 Unity? 知らない子ですね 環境 Windows 10 Visual Stuido 2017 Python 2.7 プロジェクト作成 とりあえずまず、プロジェクトを作成しておきます。 VisualStudioでVC++の空のプロジェクトを作っておきましょう。 ファイルのダウンロード NuGetを使おうと思ったんですが、なぜかGLFWをNuGetで追加しても参照が追加されなかったので普通にダウンロードしていきます。 ・GLFWの追加 まず、GLFWのサイトから「32-bit Windows Binaries」をダウンロードします。 これを解凍すると のようになるので、 プロパティのVC++ディレクトリから インクルードディレクト

                            VisualStuidoでOpenGLする。 - Qiita
                          • 【Unity】NativeArrayを使いこなせ - Annulus Games

                            今回はUnityの「NativeArray」構造体について。 UnityでC# Job SystemやECSなどを扱う際、Unity内部のC++側(Unmanagedな領域)にメモリを確保することが多くなります。このアンマネージドなメモリ領域を扱うために、Unityは「NativeArray」という特殊な構造体を提供しています。 また、Unityの一部のAPIではNativeArrayに対応したオーバーロードが用意されており、これを用いることでより高速な動作を実現することが可能になります。 今回の記事ではこの「NativeArray」について、概要や仕組み、実際の使い方などを解説していきます。NativeArrayはUnityのDOTSにおいて非常に重要な役割を果たすものであるため、是非とも使えるようになっていきましょう。 また今回の記事の内容は、C#における構造体やメモリ領域に関する知識

                            • GitHub - mayuki/dotnet-sail: Downloads .NET project from Gist, GitHub, Git, or the web and runs it in a container.

                              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                GitHub - mayuki/dotnet-sail: Downloads .NET project from Gist, GitHub, Git, or the web and runs it in a container.
                              • 【C#】CallerMemberName, CallerFilePath, CallerLineNumberを用いてメソッドの呼び出し元の情報を取得する(メソッド名またはプロパティ名, パス, 行番号) - はなちるのマイノート

                                はじめに 今回はメソッドの呼び出し元情報を取得できるようになる3つの属性(CallerMemberName・CallerFilePath・CallerLineNumber)を紹介したいと思います。 はじめに 概要 CallerFilePath CallerLineNumber CallerMemberName 使い方 実験 概要 CallerMemberName, CallerFilePath, CallerLineNumberを利用することで、メソッドの呼び出し元の情報を取得することができます。 CallerMemberName : メソッドの呼び出し元のメソッド名またはプロパティ名 CallerFilePath : 呼び出し元を格納するソースファイルの完全パス CallerLineNumber : メソッドが呼び出される位置の行番号 CallerFilePath 呼び出し元を格納するソ

                                  【C#】CallerMemberName, CallerFilePath, CallerLineNumberを用いてメソッドの呼び出し元の情報を取得する(メソッド名またはプロパティ名, パス, 行番号) - はなちるのマイノート
                                • .NET 8 の Blazor で WASM + gRPC のプロジェクトを作る

                                  更新履歴 2024/05/25 初版 2024/07/27 コメントでの指摘事項を反映 本文 この記事は、.NET 8 の Blazor で WASM + gRPC のプロジェクトを作る方法を紹介します。 基本的には、以前書いた.NET 8 の Blazor で WASM + API のプロジェクトを作るの記事と同じですが、gRPC に変更する部分を主に紹介します。 プロジェクトの作成 ここら辺は基本的に前回と同じなのでさくっと説明します。Blazor Web App で WebAssembly を Global で有効になるようにしてプロジェクトを作成します。 そして Routes.razor を以下のようにして静的 SSR の時には Loading... と表示するようにします。 @if (!OperatingSystem.IsBrowser()) { <div>Loading...<

                                    .NET 8 の Blazor で WASM + gRPC のプロジェクトを作る
                                  • 2024-04-26: Uno Platform 5.2, MySqlConnector 2.3.7, .NET Aspire preview 6 - WeekRef.NET

                                    2024-04-26: Uno Platform 5.2, MySqlConnector 2.3.7, .NET Aspire preview 6 トピックス Announcing the first-ever true .NET Single Project for Mobile, Web, Desktop, and Embedded apps https://platform.uno/blog/the-first-and-only-true-single-project-for-mobile-web-desktop-and-embedded-in-net/ Uno Platform 5.2 がリリースされた。 このリリースでは Skia レンダラーの強化によるパフォーマンスの向上やマルチウィンドウのサポート、Uno SDK の改善、.NET 9 Preview のサポートなどが含まれて

                                    • https://www.hanachiru-blog.com/entry/2024/05/06/120000

                                      • What's new for .NET in Ubuntu 24.04 - .NET Blog

                                        Join us LIVE where we’ll dive deep into the world of AI, exploring how .NET developers can leverage AI libraries and features to build smarter applications, enhance productivity, and provide better user experiences. Today is launch day for Ubuntu 24.04, Noble Numbat. Congratulations to our friends at Canonical. I’d say it’s an auspicious day, but it is more noble than that! In fact, it is the firs

                                          What's new for .NET in Ubuntu 24.04 - .NET Blog
                                        • GitHub - hanachiru/RapidEnum: Enum utility with SourceGenerator for C#/.NET

                                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                            GitHub - hanachiru/RapidEnum: Enum utility with SourceGenerator for C#/.NET
                                          • Using named pipes with ASP.NET Core and HttpClient

                                            In this post I describe Windows named pipes, what they are, the scenarios where they're useful, how to use them with ASP.NET Core, and how to call a named pipe ASP.NET Core app using HttpClient. What are Windows named pipes? Windows named pipes provide a named, one-way or duplex pipe for communication between a client and a server. They provide a way to communicate between different processes, typ

                                              Using named pipes with ASP.NET Core and HttpClient
                                            • .NET Profiler in 2024.

                                              This presentation is about the .NET profiling tool. If a program is slow, profiling is important to determine the cause of the slowdown. NET has many pr…

                                                .NET Profiler in 2024.
                                              • Source Generatorでプロパティを自動実装してみた - Qiita

                                                この記事はUnity Advent Calendar 2023 17日目の記事です。 前日は@tkooler_lufarさんのUnity でスクリーンセーバーを作る方法を模索してみたでした。 明日は【AudioMixer】exposed parametersの操作クラスを自動生成する が公開されます! ※2024.01.17 Incremental Source Generatorを利用したバージョンを公開しました。 別の公開URLを導入方法の項目内に追記しています。 なんの記事? メンバ変数からプロパティを自動実装するSource Generatorを作りました! 具体的には、以下のコードが、 [SerializeField] private float _brabra; public float Brabra { get => _brabra; private set => _brab

                                                  Source Generatorでプロパティを自動実装してみた - Qiita
                                                • [.NET MAUI] Macでの開発環境構築

                                                  VSCode + .NET8での開発 これがわかりやすい。 こちらの手順通りで問題なし。 ただし、Androidでのビルドが不要なら… Android StudioとOpenJDKはインストール不要 maui-android androidのワークロードはインストール不要 プロジェクトの.csprojファイルの下記の部分を修正 + <TargetFrameworks>net8.0-ios;net8.0-maccatalyst</TargetFrameworks> - <TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks> ... - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentif

                                                  • Secure your container build and publish with .NET 8 - .NET Blog

                                                    Join us LIVE where we’ll dive deep into the world of AI, exploring how .NET developers can leverage AI libraries and features to build smarter applications, enhance productivity, and provide better user experiences. .NET 8 raises the bar for container security for .NET container images and SDK tools. The SDK produces application images that align with industry best practices and standards, by defa

                                                      Secure your container build and publish with .NET 8 - .NET Blog
                                                    • Streamline your container build and publish with .NET 8 - .NET Blog

                                                      Join us LIVE where we’ll dive deep into the world of AI, exploring how .NET developers can leverage AI libraries and features to build smarter applications, enhance productivity, and provide better user experiences. .NET 8 is a big step forward for building and using containers, with improvements for performance, security, and usability. We’ve been working over several releases to make .NET one of

                                                        Streamline your container build and publish with .NET 8 - .NET Blog
                                                      • Windowsエクスプローラーに存在しないファイルをドロップする(Part1) - Qiita

                                                        はじめに 表題を詳しく説明すると、「ドライブ上にまだ存在しないデータ(メモリ上だったり、ネットワーク上だったり)について、デスクトップアプリケーションからWindowsエクスプローラーにドラッグ&ドロップすることで、ドロップ先にデータを書き込んだファイルを作成する」という意味です。 この動作を確認できる身近な例は、Webブラウザーの画像データです。画像データはWebブラウザーにレンダリングされているメモリ上のデータですが、画像をドラッグしてWindowsエクスプローラーにドロップすると画像ファイルが作成されます。その中身のデータは当然元の画像データです。 ドラッグ・ドロップを用いてファイルを操作する場合、たとえば.NETではファイルのパスを指定します。つまり、すでにドライブ上にファイルが存在している必要があります。 var data = new DataObject(); data.Set

                                                          Windowsエクスプローラーに存在しないファイルをドロップする(Part1) - Qiita
                                                        • Testing Your Native AOT Applications - .NET Blog

                                                          Join us LIVE where we’ll dive deep into the world of AI, exploring how .NET developers can leverage AI libraries and features to build smarter applications, enhance productivity, and provide better user experiences. We are happy to announce that we just published an early preview of support for testing Native AOT with MSTest, and we welcome all of you to try it. This new solution is powered by a c

                                                            Testing Your Native AOT Applications - .NET Blog
                                                          • .NET 9 Preview 6 is now available! - .NET Blog

                                                            It’s a great time to check out the latest .NET 9 Preview! We just shipped our sixth preview release, adding to some great features in the previous previews with major enhancements across the .NET Runtime, SDK, libraries, C#, and frameworks including ASP.NET Core, Blazor, and .NET MAUI. Check out the full release notes linked below and get started today. Download .NET 9 Preview 6 This release conta

                                                              .NET 9 Preview 6 is now available! - .NET Blog
                                                            • Rider 2024.2 Roadmap | The .NET Tools Blog

                                                              IDEs AppCode CLion DataGrip DataSpell Fleet GoLand IntelliJ IDEA PhpStorm PyCharm RustRover Rider RubyMine WebStorm Plugins & Services Big Data Tools Code With Me Quality Assurance JetBrains Platform Scala Toolbox App Writerside JetBrains AI Grazie Team Tools Datalore Space TeamCity Upsource YouTrack Hub Qodana .NET & Visual Studio .NET Tools ReSharper C++ Languages & Frameworks Kotlin Ktor MPS Am

                                                                Rider 2024.2 Roadmap | The .NET Tools Blog
                                                              • C# + LINQ の速度比較(.NET Framework 4.7 ~ .NET 8) - Qiita

                                                                using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; using System; using System.Collections.Generic; using System.Linq; namespace LinqBenchmark { internal class Program { /// <summary> /// エントリポイント /// </summary> private static void Main() { // ベンチマークスタート BenchmarkRunner.Run<LinqOperation>(); Console.ReadLine(); } } [MemoryDiagnoser] public class LinqOperation { /// <summary>リストの要素数</s

                                                                  C# + LINQ の速度比較(.NET Framework 4.7 ~ .NET 8) - Qiita
                                                                • ConfigureAwait in .NET 8

                                                                  I don’t often write “what’s new in .NET” posts, but .NET 8.0 has an interesting addition that I haven’t seen a lot of people talk about. ConfigureAwait is getting a pretty good overhaul/enhancement; let’s take a look! ConfigureAwait(true) and ConfigureAwait(false) First, let’s review the semantics and history of the original ConfigureAwait, which takes a boolean argument named continueOnCapturedCo

                                                                  • Avalonia UI: Cross-Platform UI Frameworks for .NET Developers

                                                                    Avalonia is an open source framework for building beautiful, cross-platform applications from a single .NET codebase. A decade in the making, Avalonia is a mature and stable platform for building desktop, embedded, mobile, and web applications.

                                                                      Avalonia UI: Cross-Platform UI Frameworks for .NET Developers
                                                                    • .NETの汎用ホストでOpenTelemetry - Qiita

                                                                      概要 OpenTelemetryを.NETの汎用ホスト(Generic Host)上で使用するサンプルを作成したため、共有します。誰かの一助になれば幸いです。 サンプル MyOpenTelemetryDotnetSample 概要図 docker compose内でzipkinと.NETアプリを用意し、.NETアプリからzipkinにトレースを送信しています。 EFCoreを介してデータベース(今回はsqlite)を操作することで操作内容もトレースとして送信できました。(OpenTelemetry.Instrumentation.EntityFrameworkCore使用) 環境 .NET SDK Version: 8.0.100 Docker Compose version v2.15.1 OpenTelemetry Version="1.7.0" OpenTelemetry.Instr

                                                                        .NETの汎用ホストでOpenTelemetry - Qiita
                                                                      • 2024-02-02: Microsoft Copilot with SignalR, Office's RTC migration to modern .NET, Uno Platform 5.1 - WeekRef.NET

                                                                        2024-02-02: Microsoft Copilot with SignalR, Office's RTC migration to modern .NET, Uno Platform 5.1 トピックス Building AI-powered Microsoft Copilot with SignalR and other open-source tools - .NET Blog https://devblogs.microsoft.com/dotnet/building-ai-powered-bing-chat-with-signalr-and-other-open-source-tools/ SignalR とその他オープンソースツールを使用して構築した Microsoft Copilot についての解説。 SignalR を使用した低レイテンシーな通信チャネルを確立 アダプ

                                                                        • MVVM ToolKit の使い方

                                                                          はじめに MAUIでアプリ作成する際にMVVMで実装を進めたいと思い「MVVM Toolkit」を選択したので、その際の使い方メモ。以下のMicrosoftの公式ページを参考にしてます。 使用環境 Windows11Pro(64bit) VisualStudio2022(64bit) Ver 17.9.6 MVVM ToolKit v8.2.2 プロジェクトの作成 VisualStudioにて「新しいプロジェクトの作成」から「.NET MAUIアプリ」を選択 プロジェクト名やら場所は適当に。フレームワークは「.NET8.0」を選択としました。 プロジェクト名のデフォルトが「MauiApp<数値>」なので、数値だけ消してMauiAppとかにすると、作成されたプロジェクト内でこの名前をすでに使用しているので、名前衝突してビルド出来ませんので、「MauiApp」というプロジェクト名は選択しないで

                                                                            MVVM ToolKit の使い方
                                                                          • Unity向けRoslynAnalyzerをRiderで開発する

                                                                            Unity向けRoslynAnalyzerをRiderで開発する WindowsとMac環境で作動するRoslynAnalyzerをRiderを使用して構築します。 かつてはVisualStudio/Windowsの特権だった気がしますが、いつのまにかRiderにテンプレートが追加されていたので、Riderを介してWindowsとMac両方で開発できるAnalyzer環境を構築します。 リポジトリ 今回作成するサンプルはこちらにあります。 環境 Windows 11 22H2 Unity 2022.2.20 Rider 2024.1.1 Mac 14.4.1 Rider 2024.1 Unity 2022.3.22f1 RoslynTemplateを使用してソリューションを作成 ターゲットフレームワークはインストールされている.NetSDK依存です。 作成場所はUnityのプロジェクト下に

                                                                              Unity向けRoslynAnalyzerをRiderで開発する
                                                                            • コーディング支援AI「GitHub Copilot」を搭載した「Visual Studio 2022」v17.10が一般公開(窓の杜) - Yahoo!ニュース

                                                                                コーディング支援AI「GitHub Copilot」を搭載した「Visual Studio 2022」v17.10が一般公開(窓の杜) - Yahoo!ニュース
                                                                              • 【.NET】Console App Frameworkの基本的な使い方まとめ - LIGHT11

                                                                                Console App Frameworkの基本的な使い方をまとめました。 Console App Frameworkとは? 基本的な使い方 簡単なCLIを作成・実行する 引数のオプションを設定する コマンドを複数作る 非同期メソッド 終了コード Dispose処理 その他覚えておくべきこと クラスや構造体を引数にする 実行オプション Delegateを使ってコマンドを追加する コマンド引数をバリデーションする 参考 Console App Frameworkとは? Console App Frameworkは、.NET環境でCLIのアプリケーション(Terminalとかから実行するアプリケーション)を作るためのフレームワークです。 実際に使ってみるとわかりますが、非常にお手軽にCLIを作ることができます。ふとした瞬間に作りたくなるCLIを簡単に作れるのはありがたいです。 github.c

                                                                                  【.NET】Console App Frameworkの基本的な使い方まとめ - LIGHT11
                                                                                • Unity向けオブジェクトプールライブラリ「uPools」 - Qiita

                                                                                  uPoolsとは uPoolsとはUnity向けのオブジェクトプールライブラリです。 汎用的なオブジェクトプールから非同期オブジェクトプールや、既存実装をほぼそのままオブジェクトプール化できる機能が搭載されています。 https://github.com/AnnulusGames/uPools/ ※ 本記事では「UniTask」を使用しています。 サンプルコード https://github.com/TORISOUP/uPools_Samples 導入方法 導入方法はGitHubのREADMEを参考にしてください。 機能紹介 SharedGameObjectPool SharedGameObjectPoolはPrefabの生成と破棄をとても簡単にオブジェクトプール化する機能です。 PrefabのInstantiate()をSharedGameObjectPool.Rent()に置き換え、D

                                                                                    Unity向けオブジェクトプールライブラリ「uPools」 - Qiita