1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Photon Fusionを使用するUnityプロジェクトにasmdefファイルを追加する方法

Posted at

はじめに

Photon Fusionを使用している際にasmdefを使ってプロジェクトを管理したいと思い設定を始めたところ、意外と面倒だったのでメモを残しておきます。

手順

  1. Photon>Fusion に「Fusion」という名前でasmdefを作成
    (名前は任意です)
  2. そのasmdefのAssembly Definition ReferencesにFusion.Editorを追加
  3. 追加したいasmdefを任意の場所に作成
  4. そのasmdefのAssembly Definition Referencesを以下の画像のように設定
    (Override Referencesにチェックを入れていることに注意)
    スクリーンショット 2023-04-04 16.47.43.png
  5. Photon>Fusion>Resources>Network Project ConfigのAssemblies To Wave に作成した2つのasmdefを追加
    (今回作りたかったasmdefはOfflineScripts)
    スクリーンショット 2023-04-04 17.09.11.png

おわりに

「Photon>Fusion>Resources>Network Project ConfigのAssemblies To Wave に作成した2つのasmdefを追加」の部分を忘れると実行中にエラーが出てしまいます。
通信している関係でここに登録する必要があるのでしょうか? 詳細は分かりません...

参考文献

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?