GARNET LOG

フリーランスUnityエンジニアによる開発ブログ。Unity の機能・アセット・デザインパターン・C# など実践的な情報を発信しています。

【Unity】Mathfライブラリ

  • 2025/06/28
Mathfライブラリとは? プログラミングと数学は切っても切れませんが、UnityにはMathfというライブラリが用意されています。 これは数学関数を集めた静的クラスで、ゲーム開発でよく使う数学的な処理を簡単に実装できます。 C#のSystem.Mathに似ていますが、float型に特化しており、Unity特有の処理が含まれているのが特徴です。 Unity - Scripting API: Mathf docs.unity3d.com
  • Unity
  • C#

【Unity】Gizmoを作る

  • 2025/06/21
Gizmoとは? UnityにはGizmoという機能があります。 これはSceneView上で視覚的なデバッグ情報を描画するのに役立つ機能です。 MonoBehaviourを継承しているコンポーネントで、Gizmosクラスを使うことで、 独自のギズモを実装し、ラインを引いたりワイヤーフレームを描画したりできます。 Unityのカメラや光源がSceneView上でアイコンとして表示されているのも、Gizmoによって描画されています。 Gizmos - Unity スクリプトリファレンス Gizmos are used to give visual debugging or setup aids in the Scene view. docs.unity3d.com
  • Unity
  • C#

【Unity】UGS - CloudSave

  • 2025/05/31
Unity Gaming ServicesのCloudSave Unity Gaming Services (UGS)には、プレイヤーのセーブデータをオンラインで保存出来るCloudSaveという機能が用意されています。 CloudSaveを使用することで、プレイヤーのセーブデータをバックアップしたり、 端末の機種変更に備えてデバイスを跨いだセーブデータの同期に対応できます。 Cloud Save • Cloud Save • Unity Docs Store player and game data in the cloud so players can access it everywhere and across devices. docs.unity.com
  • Unity
  • C#
  • UGS

【Unity】UGS - Analytics

  • 2025/05/24
Unity Gaming ServicesのAnalytics Unity Gaming Services (UGS)にはAnalyticsという、プレイヤーの動向を分析するサービスが用意されています。 Analyticsを活用すると、プレイヤーの行動やゲームのパフォーマンスを追跡し、データを可視化することができます。 これにより、プレイヤーの傾向を把握し、データに基づいたバランス調整やゲーム改善に役立てることが可能です。 Unity Analytics • Analytics • Unity Docs Analyze player engagement, optimize game performance, and make data-driven decisions to enhance your game's success. docs.unity.com
  • Unity
  • C#
  • UGS

【Unity】UGS - Remote Config

  • 2025/05/17
Unity Gaming ServicesのRemoteConfig Unity Gaming Services (UGS)には、RemoteConfigというパラメータの調整や機能の有効化を行う機能があります。 事前にゲーム側で対応しておく必要がありますが、配信後のゲームアプリに対して あとからゲームバランスを調整したり、期間限定イベントを有効にしたりすることが可能です。 Remote Config の概要 • Remote Config • Unity Docs Learn about Remote Config to tune game design without deploying new versions. docs.unity.com
  • Unity
  • C#
  • UGS

【Unity】UGS - Leaderboards

  • 2025/05/10
Unity Gaming ServicesのLeaderboards Unity Gaming Services (UGS)には、ユーザーのスコアを集計し、順位をつけるLeaderboardsというサービスが用意されています。 簡単に言えばランキング機能です。 スコア制のゲームでは、リーダーボードを追加することで競争の楽しさが生まれ、プレイヤーが繰り返しプレイする動機付けにもなります。 Leaderboards • Leaderboards • Unity Docs Understand the core concepts and implementation options for Leaderboards, a gaming service that ranks and stores player scores. docs.unity.com
  • Unity
  • C#
  • UGS

【Unity】UGS - Authentication

  • 2025/05/03
Unity Gaming ServicesのAuthentication Unity Gaming Services (UGS)には、プレイヤーの認証を簡単に管理できるAuthenticationという強力な機能が用意されています。 Authenticationを使用すると、プレイヤー個人を識別できるため、機種変更や複数のデバイス間で進行状況を共有できるようになります。 また、Authenticationは複数のアイデンティティプロバイダをサポートしており、 Google アカウントや Apple アカウントなどを使用したログイン方法にも対応できます。 Unity Authentication • Authentication • Unity Docs Implement secure player authentication with anonymous, platform-specific, and custom sign-in solutions for your game. docs.unity.com
  • Unity
  • C#
  • UGS

【Unity】Unity Gaming Services

  • 2025/04/26
Unity Gaming Servicesとは? Unity Gaming Services (UGS)は、Unityが提供するクラウドベースのサービス群で、 マルチプレイヤー機能の追加、収益化、分析、プレイヤー管理などを簡単に実装できるプラットフォームです。 多くの有名なゲームでも導入されています。 LiveOps ゲーム開発ツールとプレイヤーインサイト | Unity Unity の liveops ゲーム開発ツールを使用すると、プレイヤーのインサイトをより深く理解し、貴重な開発時間を節約できます。 Unity
  • Unity
  • C#
  • UGS

【Unity】物理演算:衝突イベント

  • 2025/04/12
物理演算のイベント Unityの物理演算では、オブジェクト同士の衝突や接触を検知するために、物理イベントが用意されています。 衝突判定を行う際、OnCollision系とOnTrigger系のイベントには以下の違いがあります。 OnCollisionEnter(Collision collision):物理的な衝突が発生したときに呼ばれる OnTriggerEnter(Collider other):トリガーを持つコライダーと接触したときに呼ばれる(物理的な衝突は発生しない) これらのイベントは、MonoBehaviourを継承したクラス内で定義すると、条件を満たしたときに自動的に呼び出されます。 Unity - Scripting API: Collider.OnCollisionEnter(Collision) docs.unity3d.com Unity - Scripting API: Collider.OnTriggerEnter(Collider) docs.unity3d.com
  • Unity
  • C#
  • 物理演算

【Unity】物理演算:RigidbodyとCollider

  • 2025/03/29
Unityでの物理演算 物理演算(Physics)とは、現実における物理的な動き(重力、衝突、摩擦など)をゲーム内で再現するための仕組みです。 Unityには物理演算エンジンが組み込まれており、シーン上のオブジェクトに対して物理的な動作を簡単に追加できます。 Unity - Scripting API: Physics docs.unity3d.com
  • Unity
  • C#
  • 物理演算
← 新しい記事 古い記事 →
👤 AUTHOR
GARNET CODE

フリーランスのUnityエンジニアです

Unity認定プロフェッショナルプログラマー

unity-certified-professional-programmer

記事を検索 月間アーカイブ
🆕 LATESTS
【Unity】TrailRendererを再利用するときに軌跡が残る問題の対処法新着
  • 2026/04/25
  • BLOG
【Unity】UnityEditorのメインツールバーに独自のUI要素を追加する
  • 2026/04/18
  • BLOG
【Unity】GenericMenu
  • 2026/04/11
  • BLOG
【Unity】Mixamoのアニメーションを取り込む
  • 2026/04/04
  • BLOG
【Unity】LayerとAvatarMask
  • 2026/03/28
  • BLOG
【Unity】AnimatorOverrideController
  • 2026/03/21
  • BLOG
【Unity】Blend Tree
  • 2026/03/14
  • BLOG
【Unity】AnimationEvent
  • 2026/03/07
  • BLOG
【Unity】AnimationParameter
  • 2026/02/28
  • BLOG
【Unity】AnimatorController
  • 2026/02/21
  • BLOG
🎲 RECOMMENDED
🏆 RANKING
1
【Unity】LineRendererでラインを描画する
  • 2024/09/08
  • BLOG
2
【Unity】最初に開かれるシーンを指定する
  • 2024/06/23
  • BLOG
3
【Unity】AnimationCurveで値を変化させる
  • 2024/08/31
  • BLOG
4
【Unity】Flags属性について
  • 2024/05/18
  • BLOG
5
【Unity】TextMeshProでマテリアルを追加する
  • 2024/06/30
  • BLOG
1
【Unity】RenderTextureの使い方
  • 2024/05/04
  • BLOG
2
【Unity】メニューバーにメニューの追加
  • 2024/03/09
  • BLOG
3
【Unity】コンテキストメニューを追加する
  • 2024/03/17
  • BLOG
4
【Unity】LineRendererでラインを描画する
  • 2024/09/08
  • BLOG
5
【Unity】最初に開かれるシーンを指定する
  • 2024/06/23
  • BLOG
💎 RECOMMENDED ASSETS
🏪 Unity AssetStore
📂 CATEGORIES
  • unity (117)
  • その他 (3)
  • git (2)
  • コラム (2)
  • assetstore (1)
  • firebase (1)
  • game (1)
  • rider (1)
🏷️ TAGS
  • unity (105)
  • c# (69)
  • ui (10)
  • エディタ拡張 (10)
  • package (8)
  • ugs (8)
  • animation (7)
  • asset (7)
  • textmeshpro (7)
  • デザインパターン (6)
  • linq (5)
  • addressables (4)
  • github (3)
  • unity6 (3)
  • 物理演算 (3)
  • assetstore (2)
  • openupm (2)
  • audiomixer (1)
  • debug (1)
  • editor (1)
  • game (1)
  • git (1)
  • rider (1)
  • サービス (1)
  • セール (1)
🗓️ ARCHIVE
2026年
  • 4月 (4)
  • 3月 (4)
  • 2月 (4)
  • 1月 (5)
2025年
  • 12月 (4)
  • 11月 (5)
  • 10月 (4)
  • 9月 (4)
  • 8月 (5)
  • 7月 (4)
  • 6月 (4)
  • 5月 (5)
  • 4月 (5)
  • 3月 (5)
  • 2月 (4)
  • 1月 (4)
2024年
  • 12月 (4)
  • 11月 (5)
  • 10月 (4)
  • 9月 (4)
  • 8月 (5)
  • 7月 (4)
  • 6月 (5)
  • 5月 (4)
  • 4月 (4)
  • 3月 (5)
  • 2月 (4)
  • 1月 (4)
2023年
  • 12月 (2)
🔗 LINKS
Unity
Unity Asset Store
Fab

© GARNET LOG

Powered by Hugo.

Robust designed by Daisuke Tsuji.