Upgrade to Pro — share decks privately, control downloads, hide ads and more …

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

あらためて 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 を公開しています。

Tetsuya Mori

July 25, 2018
Tweet

More Decks by Tetsuya Mori

Other Decks in Programming

Transcript

  1. 5

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

    "QQ4UPSF(PPHMF1MBZ
 ʹͯࢠͲ΋޲͚ΧςΰϦ
 ϥϯΩϯά501 11 ͓͠͝ͱ ࣗݾ঺հ
  4. 23 Assembly Definition ͷجຊ Assembly Definition ͱ͸ʁ Assets/ ├hoge.asmdef ├Foo.cs

    └Fuga/ ├fuga.asmdef └Bar.cs ⚙ hoge.dll ⚙ fuga.dll
  5. 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 AD ొ৔ޙ Assembly Definition ͷ࢖͍ํ •Assembly-CSharp.dll •.asmdef ͕ଘࡏ͠ͳ͍σΟϨΫτϦҎԼͷ *.cs

    •<Assembly>.dll •Assets/**/<Assembly>.asmdef
 ͱಉ֊૚σΟϨΫτϦҎԼͷ*.cs
  7. •class Hoge : SingletonMonoBehaviour<Hoge> {} •Hoge.Instance; w͜Ε͸࣮࣭తʹ͸ SingletonMonoBehaviour.Instance Λ
 ࢀর͍ͯ͠ΔͷͰɺ


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