Assets: move the remaining runtime path reads onto IContentSource

クローズ
#244 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp

調査の方向性

Start with one independent area, such as GameRuntime.cs catalog lookup or the project settings index in ProjectSettingsLoader.cs, and trace how runtime path reads use IContentSource. The issue names additional areas including asset metadata, the type manifest, UI assets and the window icon; editor only paths should stay unchanged. Done means runtime assemblies contain no File. or Directory. calls outside FileContentSource and editor only code, with desktop export and play unchanged.

索引モデルが issue の本文から書いたものです。

説明

c:assets c:engine good first issue p:high size:M t:refactor

Current State

Besides OAP, many runtime reads assume real paths: GameRuntime.cs:134-142 (catalog lookup), AssetDatabase.cs:111-125 and AssetDatabase.Catalog.cs:212, ProjectSettingsLoader.cs:102-108, 235-238, RuntimeAssetLoader.cs:219-231 (meta), PrecastAssemblies.cs:20-22 and TypeRegistry.cs:254-266 (type manifest), the UI brick (UiManagerFactory.cs, UiDocumentAsset.cs, UiStyleSheetAsset.cs, UiImageResolver.cs, UiFontResolver.cs) and the window icon. Each area is independent: one small PR per area.

Tasks

  • Catalog and asset database
  • Project settings index
  • Runtime asset meta
  • Type manifest (precast assemblies and type registry)
  • UI brick documents, style sheets, images and fonts
  • Window icon
  • Editor-only paths stay as they are

Acceptance Criteria

  • No File./Directory. calls in runtime assemblies outside FileContentSource and editor-only code
  • Desktop export and play unchanged

Related

  • Android plan task A8 · seniority Jr · mergeable now (.NET 10)
  • Depends on: #242
  • Platform roadmap: #100
主要言語
C#
スター
1
フォーク
1
平均マージ
2時間 4分
マージ済み PR(30日)
29

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MASS4ORG/Turian のほかの issue

MASS4ORG/Turian の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。