あらためて AssemblyDefinition についてまとめてみた/About AssemblyDefinition

あらためて AssemblyDefinition についてまとめてみた/About AssemblyDefinition

2018/07/25 (Wed) に開催された Gotanda.unity #7 での登壇資料です。

P.29, P.37, P.41 の画像については、 http://monry.hatenablog.com/entry/2018/07/26/124434 にて Animated GIF を公開しています。

7b13f432547b92d04c79b749adb535e0?s=128

Tetsuya Mori

July 25, 2018
Tweet

Transcript

  1. 5.

    5

  2. 6.

    6 { "name": "kidsstar@pretendland", "references": [ "kidsstar@firebase_utility_lifecyclehandler", "kidsstar@pretendland_common_dialog", "kidsstar@pretendland_common_downloader", "kidsstar@pretendland_common_pavilionloader",

    "kidsstar@pretendland_common_projects", "umm@assetbundle_management", "umm@cafu_core", "umm@cafu_generics", "umm@cafu_routing", "umm@commandline_arguments", "umm@context_management", "umm@git", "umm@jenkins", "umm@project_setting", "umm@singleton_monobehaviour", "umm@unirx", "umm@unirx_observablelifecyclemonobehaviour", "umm@unirx_observableunitywebrequest", "umm@xcode_manipulation_api", "pretendland_academy", "pretendland_ecc", "pretendland_gummi", "pretendland_ippudo", "pretendland_kao", "pretendland_nissincisco", "pretendland_sugi", "pretendland_sushiro" ], "optionalUnityReferences": [], "includePlatforms": [], "excludePlatforms": [], "allowUnsafeCode": false }
  3. 11.

    w ࢠͲ΋޲͚εϚϗΞϓϦ
 ։ൃͳͲ w ೥͋ͨΓ͔Β
 6OJUZΨοπϦ w ͬ͜͝ϥϯυ
 ྦྷܭສ%- w

    "QQ4UPSF(PPHMF1MBZ
 ʹͯࢠͲ΋޲͚ΧςΰϦ
 ϥϯΩϯά501 11 ͓͠͝ͱ ࣗݾ঺հ
  4. 23.

    23 Assembly Definition ͷجຊ Assembly Definition ͱ͸ʁ Assets/ ├hoge.asmdef ├Foo.cs

    └Fuga/ ├fuga.asmdef └Bar.cs ⚙ hoge.dll ⚙ fuga.dll
  5. 31.

    31 AD ొ৔લ Assembly Definition ͷ࢖͍ํ •Assembly-CSharp.dll •Assets/**/*.cs •Assembly-CSharp-Editor.dll •Assets/**/Editor/**/*.cs

    •Assembly-CSharp-firstpass.dll •Assets/Plugins/**/*.cs •Assembly-CSharp-Editor-firstpass.dll •Assets/Plugins/**/Editor/**/*.cs
  6. 33.

    33 AD ొ৔ޙ Assembly Definition ͷ࢖͍ํ •Assembly-CSharp.dll •.asmdef ͕ଘࡏ͠ͳ͍σΟϨΫτϦҎԼͷ *.cs

    •<Assembly>.dll •Assets/**/<Assembly>.asmdef
 ͱಉ֊૚σΟϨΫτϦҎԼͷ*.cs
  7. 49.

    •class Hoge : SingletonMonoBehaviour<Hoge> {} •Hoge.Instance; w͜Ε͸࣮࣭తʹ͸ SingletonMonoBehaviour.Instance Λ
 ࢀর͍ͯ͠ΔͷͰɺ


    SingletonMonoBehaviourؚ͕·ΕΔ
 "TTFNCMZ΁ͷࢀর͕ඞཁʹͳΔ 49 static Ϋϥεɾϝιου Tips
  8. 53.