{"id":3967,"date":"2020-01-10T12:00:51","date_gmt":"2020-01-10T03:00:51","guid":{"rendered":"https:\/\/virtualcast.jp\/blog\/?p=3967"},"modified":"2020-01-10T13:24:05","modified_gmt":"2020-01-10T04:24:05","slug":"asmdef_compile_speed","status":"publish","type":"post","link":"https:\/\/blog.virtualcast.jp\/blog\/2020\/01\/asmdef_compile_speed\/","title":{"rendered":"\u3010Unity\u3011\u300cAssemblyDefinition\u3092\u5206\u3051\u308b\u3068\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u9ad8\u901f\u306b\u306a\u308b\u300d\u3063\u3066\u30db\u30f3\u30c8\uff1f\u691c\u8a3c\u3057\u3066\u307f\u305f\uff01"},"content":{"rendered":"<p>\u3042\u3051\u307e\u3057\u3066\u304a\u3081\u3067\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002\u30d0\u30fc\u30c1\u30e3\u30eb\u30ad\u30e3\u30b9\u30c8\u958b\u767a\u90e8\u306enotargs(\u306e\u305f\u3050\u3059)\u3067\u3059\u3002<\/p>\n<p><code>Unity 2017.3<\/code>\u304b\u3089\u3001Assembly\u3092\u5206\u5272\u3059\u308b\u305f\u3081\u306e<code>AssemblyDefinition<\/code>\u3068\u3044\u3046\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u6a5f\u80fd\u3092\u4f7f\u3046\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u6069\u6075\u304c\u53d7\u3051\u3089\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u66f4\u65b0\u304c\u306a\u3044Assembly\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u306a\u3044\u305f\u3081\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u9593\u306e\u77ed\u7e2e\u306b\u7e4b\u304c\u308b<\/li>\n<li>\u30a2\u30bb\u30f3\u30d6\u30ea\u540c\u58eb\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u7d5e\u308a\u3001\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u660e\u78ba\u306b\u3067\u304d\u308b<\/li>\n<li>internal\uff08\u540c\u4e00Assembly\u5185\u3067\u306e\u307f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30a2\u30af\u30bb\u30b9\u4fee\u98fe\u5b50\uff09\u304c\u4f7f\u3048\u308b<\/li>\n<\/ul>\n<p>\u3055\u3066\u3001\u3053\u306e\u6a5f\u80fd\u3067\u3059\u304c\u3001<code>\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u9593\u306e\u77ed\u7e2e<\/code>\u304c\u3042\u307e\u308a\u4f53\u611f\u3067\u304d\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u5b9f\u969b\u306b\u3069\u306e\u7a0b\u5ea6\u77ed\u7e2e\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\uff01<\/p>\n<h2>\u4f7f\u7528\u3057\u305fUnity\u306e\u30d0\u30fc\u30b8\u30e7\u30f3<\/h2>\n<p>\u4eca\u56de\u306e\u691c\u8a3c\u306b\u306f<code>Unity 2018.4.14f1<\/code>\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u9593\u3092\u8a08\u6e2c\u3059\u308b<\/h2>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u9593\u3092\u8abf\u3079\u308b\u305f\u3081\u306b\u30a8\u30c7\u30a3\u30bf\u62e1\u5f35\u3092\u4f5c\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><img src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2020\/01\/0d40a5e4a645fc6b96e767d64ac0878e.png\" alt=\"\" \/><\/p>\n<p>Assembly\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u958b\u59cb\/\u7d42\u4e86\u3092\u901a\u77e5\u3059\u308b\u30c7\u30ea\u30b2\u30fc\u30c8<code>CompilationPipeline.assemblyCompilationStarted<\/code>\u3068<code>CompilationPipeline.assemblyCompilationFinished<\/code>\u3092\u4f7f\u3044\u3001\u30a2\u30bb\u30f3\u30d6\u30ea\u306e\u66f4\u65b0\u306b\u304b\u304b\u3063\u305f\u6642\u9593\u3092\u8a08\u6e2c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3064\u3044\u3067\u306b\u30c8\u30fc\u30bf\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u9593\u3068\u30a2\u30bb\u30f3\u30d6\u30ea\u306e\u30ea\u30ed\u30fc\u30c9\u306b\u304b\u304b\u3063\u305f\u6642\u9593\u3092\u8868\u793a\u3059\u308b\u4ed5\u7d44\u307f\u3082\u7528\u610f\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u306e\u5f85\u3061\u6642\u9593\u306b\u884c\u308f\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u53ef\u8996\u5316\u3067\u304d\u308b\u307b\u304b\u3001\u4e0d\u8981\u306aAssembly\u540c\u58eb\u306e\u4f9d\u5b58\u95a2\u4fc2\u3082\u898b\u3064\u3051\u3089\u308c\u308b\u306e\u3067\u3001\u958b\u767a\u4e2d\u3082\u753b\u9762\u7aef\u306b\u5e38\u306b\u8868\u793a\u3057\u3066\u304a\u304f\u3068\u6357\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30b3\u30fc\u30c9\u5168\u6587<\/h3>\n<pre><code class=\"language-CompilationLogger.cs\">using System;\nusing System.Collections.Generic;\nusing System.Text;\nusing UnityEditor;\nusing UnityEditor.Compilation;\nusing UnityEngine;\n\nnamespace Editor\n{\n    public sealed class CompilationLogger : EditorWindow\n    {\n        [SerializeField]\n        private bool _isTrackingTime;\n\n        [SerializeField]\n        private double _compileStartTime;\n\n        [SerializeField]\n        private double _assemblyReloadStartTime;\n\n        [SerializeField]\n        private Vector2 _scroll;\n\n        [SerializeField]\n        private List&lt;string&gt; _logs = new List&lt;string&gt;();\n\n        [SerializeField]\n        private List&lt;AssemblyCompileTimeStamp&gt; _timeStamps = new List&lt;AssemblyCompileTimeStamp&gt;();\n\n        private readonly StringBuilder _stringBuilder = new StringBuilder();\n\n        [MenuItem(&quot;Tools\/CompilationLogger&quot;)]\n        private static void Open()\n        {\n            GetWindow&lt;CompilationLogger&gt;();\n        }\n\n        private void OnEnable()\n        {\n            CompilationPipeline.assemblyCompilationStarted += OnAssemblyCompilationStarted;\n            CompilationPipeline.assemblyCompilationFinished += OnAssemblyCompilationFinished;\n            AssemblyReloadEvents.beforeAssemblyReload += BeforeAssemblyReload;\n            AssemblyReloadEvents.afterAssemblyReload += AfterAssemblyReload;\n            EditorApplication.update += Update;\n\n            titleContent = new GUIContent(&quot;CompilationLogger&quot;);\n        }\n\n        private void OnDisable()\n        {\n            CompilationPipeline.assemblyCompilationStarted -= OnAssemblyCompilationStarted;\n            CompilationPipeline.assemblyCompilationFinished -= OnAssemblyCompilationFinished;\n            AssemblyReloadEvents.beforeAssemblyReload -= BeforeAssemblyReload;\n            AssemblyReloadEvents.afterAssemblyReload -= AfterAssemblyReload;\n            EditorApplication.update -= Update;\n        }\n\n        private void OnAssemblyCompilationStarted(string assemblyName)\n        {\n            Log($&quot;- Assembly compile start:\\t\\t{assemblyName}&quot;);\n            _timeStamps.Add(new AssemblyCompileTimeStamp(assemblyName, EditorApplication.timeSinceStartup));\n            Repaint();\n        }\n\n        private void OnAssemblyCompilationFinished(string assemblyName, CompilerMessage[] messages)\n        {\n            var time = double.NaN;\n            for (var i = 0; i &lt; _timeStamps.Count; i++)\n            {\n                var timeStamp = _timeStamps[i];\n                if (timeStamp.AssemblyName == assemblyName)\n                {\n                    time = EditorApplication.timeSinceStartup - timeStamp.Time;\n                    _timeStamps.RemoveAt(i);\n                }\n            }\n            Log($&quot;- Assembly compile end:\\t[{time:0.000}s]\\t{assemblyName}&quot;);\n\n            Repaint();\n        }\n\n        private void BeforeAssemblyReload()\n        {\n            _assemblyReloadStartTime = EditorApplication.timeSinceStartup;\n            Log($&quot;- Start assembly reload&quot;);\n            Repaint();\n        }\n\n        private void AfterAssemblyReload()\n        {\n            var reloadTime = EditorApplication.timeSinceStartup - _assemblyReloadStartTime;\n            Log($&quot;- End assembly reload\\t[{reloadTime:0.000}s]&quot;);\n            Repaint();\n        }\n\n        private void OnGUI()\n        {\n            EditorGUILayout.BeginVertical();\n\n            _scroll = EditorGUILayout.BeginScrollView(_scroll);\n\n            _stringBuilder.Clear();\n            foreach (var log in _logs)\n            {\n                _stringBuilder.AppendLine(log);\n            }\n\n            EditorGUILayout.TextArea(_stringBuilder.ToString(), GUILayout.ExpandWidth(true), GUILayout.ExpandHeight(true));\n            EditorGUILayout.EndScrollView();\n\n            EditorGUILayout.EndVertical();\n        }\n\n        private void Update()\n        {\n            if (EditorApplication.isCompiling &amp;&amp; !_isTrackingTime)\n            {\n                _compileStartTime = EditorApplication.timeSinceStartup;\n                _isTrackingTime = true;\n                _logs.Clear();\n                Log(&quot;** Compile start **&quot;);\n            }\n            else if (!EditorApplication.isCompiling &amp;&amp; _isTrackingTime)\n            {\n                _isTrackingTime = false;\n                var compileTime = EditorApplication.timeSinceStartup - _compileStartTime;\n                Log($&quot;** Compile end **\\t[{compileTime:0.000}s]&quot;);\n            }\n\n            Repaint();\n        }\n\n        private void Log(string message)\n        {\n            _logs.Add(message);\n            _scroll.y = float.MaxValue;\n        }\n\n        [Serializable]\n        private readonly struct AssemblyCompileTimeStamp\n        {\n            public string AssemblyName { get; }\n            public double Time { get; }\n\n            public AssemblyCompileTimeStamp(string assemblyName, double time)\n            {\n                AssemblyName = assemblyName;\n                Time = time;\n            }\n        }\n    }\n}<\/code><\/pre>\n<h3>\u691c\u8a3c\u306b\u5229\u7528\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/h3>\n<p><code>Assembly1<\/code>\u3001<code>Assembly2<\/code>\u3001<code>Assembly3<\/code>\u306e3\u3064\u306eAssemblyDefinition\u3092\u5207\u3063\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><code>Auto Referenced<\/code>\u306fOn\u306e\u307e\u307e\u3067\u3001<code>Assembly3<\/code>\u306e<code>Assembly Definition References<\/code>\u306b<code>Assembly1<\/code>\u3068<code>Assembly2<\/code>\u306e\u4e21\u65b9\u3092\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2020\/01\/0d40a5e4a645fc6b96e767d64ac0878e-2.png\" alt=\"\" \/><\/p>\n<p>\u56f3\u3067\u66f8\u304f\u3068\u6b21\u306e\u3088\u3046\u306a\u4f9d\u5b58\u95a2\u4fc2\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2020\/01\/0d40a5e4a645fc6b96e767d64ac0878e-1.png\" alt=\"\" \/><\/p>\n<h2>\u3044\u308d\u3044\u308d\u8a66\u3057\u3066\u307f\u308b<\/h2>\n<h3>AssemblyDefinitionAsset\u306e\u8a2d\u5b9a\u3092\u5909\u3048\u3066\u307f\u308b<\/h3>\n<p>\u8a66\u3057\u306b<code>Assembly1<\/code>\u306e<code>Allow &#039;unsafe&#039; Code<\/code>\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u4fdd\u5b58\u3057\u3066\u307f\u308b\u3068\u3001\u3053\u306e\u3088\u3046\u306a\u30ed\u30b0\u304c\u51fa\u529b\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<pre><code>** Compile start **\n- Assembly compile end: [1.108s]    Library\/ScriptAssemblies\/Unity.Analytics.DataPrivacy.dll\n- Assembly compile end: [1.164s]    Library\/ScriptAssemblies\/Assembly1.dll\n- Assembly compile end: [1.211s]    Library\/ScriptAssemblies\/Assembly2.dll\n- Assembly compile end: [1.191s]    Library\/ScriptAssemblies\/Unity.PackageManagerUI.Editor.dll\n- Assembly compile end: [1.172s]    Library\/ScriptAssemblies\/Unity.CollabProxy.Editor.dll\n- Assembly compile start:       Library\/ScriptAssemblies\/Assembly3.dll\n- Assembly compile end: [1.437s]    Library\/ScriptAssemblies\/Unity.TextMeshPro.dll\n- Assembly compile start:       Library\/ScriptAssemblies\/Unity.TextMeshPro.Editor.dll\n- Assembly compile end: [0.298s]    Library\/ScriptAssemblies\/Assembly3.dll\n- Assembly compile end: [0.477s]    Library\/ScriptAssemblies\/Unity.TextMeshPro.Editor.dll\n- Assembly compile start:       Library\/ScriptAssemblies\/Assembly-CSharp-Editor.dll\n- Assembly compile end: [0.385s]    Library\/ScriptAssemblies\/Assembly-CSharp-Editor.dll\n- Start assembly reload\n- End assembly reload   [1.478s]\n** Compile end **   [3.785s]<\/code><\/pre>\n<p>\u540c\u69d8\u306b\u3001\u65b0\u3057\u3044AssemblyDefinition\u304c\u8ffd\u52a0\/\u524a\u9664\u3055\u308c\u305f\u3068\u304d\u3082\u3001Package\u3092\u542b\u3081\u305f\u5168\u3066\u306eAssembly\u304c\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>Assembly1\u3092\u5909\u66f4\u3057\u3066\u307f\u308b<\/h3>\n<p><code>Assembly1<\/code>\u306b\u3042\u308b\u30af\u30e9\u30b9\u3092\u5909\u66f4\u3057\u3066\u307f\u308b\u3068\u3001\u6b21\u306e\u30ed\u30b0\u304c\u51fa\u529b\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<pre><code>** Compile start **\n- Assembly compile start:       Library\/ScriptAssemblies\/Assembly1.dll\n- Assembly compile end: [0.446s]    Library\/ScriptAssemblies\/Assembly1.dll\n- Assembly compile start:       Library\/ScriptAssemblies\/Assembly3.dll\n- Assembly compile end: [0.315s]    Library\/ScriptAssemblies\/Assembly3.dll\n- Assembly compile start:       Library\/ScriptAssemblies\/Assembly-CSharp-Editor.dll\n- Assembly compile end: [0.314s]    Library\/ScriptAssemblies\/Assembly-CSharp-Editor.dll\n- Start assembly reload\n- End assembly reload   [1.482s]\n** Compile end **   [2.979s]<\/code><\/pre>\n<p><code>Assembly1<\/code>\u3068\u3001\u305d\u308c\u306b\u4f9d\u5b58\u3057\u305fAssembly\u304c\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<br \/>\n<code>Assembly1<\/code>\u3068\u4f9d\u5b58\u95a2\u4fc2\u306e\u306a\u3044<code>Assembly2<\/code>\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p><img src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2020\/01\/0d40a5e4a645fc6b96e767d64ac0878e-4.png\" alt=\"\" \/><\/p>\n<h3>Assembly3\u3092\u5909\u66f4\u3057\u3066\u307f\u308b<\/h3>\n<p><code>Assembly3<\/code>\u306b\u3042\u308b\u30af\u30e9\u30b9\u3092\u5909\u66f4\u3057\u3066\u307f\u308b\u3068\u3001\u6b21\u306e\u30ed\u30b0\u304c\u51fa\u529b\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<pre><code>** Compile start **\n- Assembly compile start:       Library\/ScriptAssemblies\/Assembly1.dll\n- Assembly compile end: [0.446s]    Library\/ScriptAssemblies\/Assembly1.dll\n- Assembly compile start:       Library\/ScriptAssemblies\/Assembly3.dll\n- Assembly compile end: [0.315s]    Library\/ScriptAssemblies\/Assembly3.dll\n- Assembly compile start:       Library\/ScriptAssemblies\/Assembly-CSharp-Editor.dll\n- Assembly compile end: [0.314s]    Library\/ScriptAssemblies\/Assembly-CSharp-Editor.dll\n- Start assembly reload\n- End assembly reload   [1.482s]\n** Compile end **   [2.979s]<\/code><\/pre>\n<p><code>Assembly3<\/code>\u306e\u4f9d\u5b58\u5148\u3067\u3042\u308b<code>Assembly1<\/code>\u3068<code>Assembly2<\/code>\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p><img src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2020\/01\/0d40a5e4a645fc6b96e767d64ac0878e-3.png\" alt=\"\" \/><\/p>\n<h3>Auto Referenced\u3092\u5916\u3057\u3066\u307f\u308b<\/h3>\n<p><code>Auto Rerenced<\/code>\u306fAssembly\u3092<code>Asssembly-CSharp<\/code>\/<code>Assembly-CSharp-Editor<\/code>\u306b\u8ffd\u52a0\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u304c\u3001\u4e0d\u8981\u306a\u3053\u3068\u3082\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u5168\u3066\u306eAssembly\u306e<code>Auto Referenced<\/code>\u306e\u30c1\u30a7\u30c3\u30af\u3092\u5916\u3057\u3001<code>Assembly1<\/code>\u306e\u30af\u30e9\u30b9\u3092\u5909\u66f4\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><img src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2020\/01\/0d40a5e4a645fc6b96e767d64ac0878e-5.png\" alt=\"\" \/><\/p>\n<p>\u6b21\u306e\u3088\u3046\u306a\u30ed\u30b0\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code>** Compile start **\n- Assembly compile start:       Library\/ScriptAssemblies\/Assembly1.dll\n- Assembly compile end: [0.454s]    Library\/ScriptAssemblies\/Assembly1.dll\n- Assembly compile start:       Library\/ScriptAssemblies\/Assembly3.dll\n- Assembly compile end: [0.317s]    Library\/ScriptAssemblies\/Assembly3.dll\n- Start assembly reload\n- End assembly reload   [1.482s]\n** Compile end **   [2.648s]<\/code><\/pre>\n<p><code>Assembly-CSharp<\/code>\u3001<code>Assembly-CSharp-Editor<\/code>\u3068\u306e\u4f9d\u5b58\u95a2\u4fc2\u304c\u306a\u304f\u306a\u3063\u305f\u305f\u3081\u3001<code>Assembly1<\/code>\u3068<code>Assembly3<\/code>\u306e\u307f\u304c\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2020\/01\/0d40a5e4a645fc6b96e767d64ac0878e-6.png\" alt=\"\" \/><\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u304b\uff1f<br \/>\n\u4ee5\u4e0a\u306e\u691c\u8a3c\u304b\u3089\u3001<code>AssemblyDefinition\u3092\u9069\u5207\u306b\u5206\u3051\u308c\u3070\u30b3\u30f3\u30d1\u30a4\u30eb\u306f\u9ad8\u901f\u5316\u3055\u308c\u308b<\/code>\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305f\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u9593\u3092\u6e1b\u3089\u3059\u305f\u3081\u306b\u306f\u3001\u6b21\u306e\u70b9\u306b\u6c17\u3092\u3064\u3051\u308c\u3070\u3044\u3044\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u983b\u7e41\u306b\u5909\u66f4\u304c\u767a\u751f\u3059\u308bAssembly\u306f\u3067\u304d\u308b\u9650\u308a\u4f9d\u5b58\u5143\u306eAssembly\u3092\u6e1b\u3089\u3059<\/li>\n<li>\u4e0d\u8981\u306a\u3089<code>Auto Referenced<\/code>\u306e\u30c1\u30a7\u30c3\u30af\u3092\u5916\u3059<\/li>\n<\/ul>\n<p>\u30d0\u30fc\u30c1\u30e3\u30eb\u30ad\u30e3\u30b9\u30c8\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u306f\u73fe\u72b6191\u500b\u306eAssmbly\u304c\u3042\u308a\u3001\u30d5\u30eb\u30b3\u30f3\u30d1\u30a4\u30eb\u3060\u306828\u79d2\u307b\u3069\u304b\u304b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u3042\u305f\u308a\u3092\u610f\u8b58\u3057\u3066\u8a2d\u5b9a\u3057\u305f\u7d50\u679c\u3001\u5c40\u6240\u7684\u306a\u5909\u66f4\u3067\u3042\u308c\u30708\u79d2\u7a0b\u5ea6\u3067\u7d42\u308f\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u9593\u3092\u5927\u304d\u304f\u524a\u6e1b\u3067\u304d\u308b\u306e\u3067\u3001\u305c\u3072\u610f\u8b58\u3057\u3066\u307f\u307e\u3057\u3087\u3046\uff01<\/p>\n<h2>\u3010\u304a\u307e\u3051\u3011\u305d\u306e\u4ed6\u691c\u8a3c\u4e2d\u306b\u6c17\u3065\u3044\u305f\u3053\u3068<\/h2>\n<h3>Rider\u306e\u8a2d\u5b9a\u3092\u898b\u76f4\u3057\u3066\u901f\u5ea6\u3092\u66f4\u306b\u4e0a\u3052\u308b<\/h3>\n<p>IDE\u306bRider\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u3001Settings\u306e<code>Language &amp; Features\/Unity Engine<\/code>\u5185\u306b<code>Automatically refresh assets in Unity<\/code>\u3068\u3044\u3046\u8a2d\u5b9a\u9805\u76ee\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><img src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2020\/01\/0d40a5e4a645fc6b96e767d64ac0878e-7.png\" alt=\"\" \/><\/p>\n<p>\u3053\u3061\u3089\u306f\u30d5\u30a1\u30a4\u30eb\u304c\u66f4\u65b0\u3055\u308c\u305f\u3068\u304d\u3001\u81ea\u52d5\u7684\u306b\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067Unity\u306erefresh assets\u3092\u884c\u3063\u3066\u304f\u308c\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u304c\u3001\u30aa\u30d5\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u524d\u306b\u8d70\u308brefresh assets\u306e\u5f85\u3061\u6642\u9593\u3092\u5927\u5e45\u306b\u6e1b\u3089\u305b\u307e\u3057\u305f\u3002<br \/>\nrefresh assets\u304c\u9577\u3044\u3068\u611f\u3058\u308b\u4eba\u306f\u3053\u3053\u306e\u8a2d\u5b9a\u3082\u3042\u308f\u305b\u3066\u898b\u76f4\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>Project\u5185\u306eAssemblyDefinition\u3092\u5168\u3066\u691c\u7d22\u3059\u308b<\/h3>\n<p>ProjectView\u306b<code>t:AssemblyDefinitionAsset<\/code>\u3068\u5165\u529b\u3059\u308b\u3068\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5185\u306e\u5168\u3066\u306eAssemblyDefinition\u3092\u691c\u7d22\u3067\u304d\u307e\u3059\u3002<br \/>\n<code>Auto Referenced<\/code>\u3092\u4e00\u62ec\u3067Off\u306b\u3059\u308b\u6642\u306a\u3069\u306b\u4fbf\u5229\u306a\u306e\u3067\u3001\u305c\u3072\u6d3b\u7528\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img src=\"https:\/\/virtualcast.jp\/blog\/wp-content\/uploads\/2020\/01\/0d40a5e4a645fc6b96e767d64ac0878e-8.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3042\u3051\u307e\u3057\u3066\u304a\u3081\u3067\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002\u30d0\u30fc\u30c1\u30e3\u30eb\u30ad\u30e3\u30b9\u30c8\u958b\u767a\u90e8\u306enotargs(\u306e\u305f\u3050\u3059)\u3067\u3059\u3002 Unity 2017.3\u304b\u3089\u3001Assembly\u3092\u5206\u5272\u3059\u308b\u305f\u3081\u306eAssemblyDefinition\u3068\u3044\u3046\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002 ...<\/p>\n","protected":false},"author":16,"featured_media":3991,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[25,26],"tags":[23],"_links":{"self":[{"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/posts\/3967"}],"collection":[{"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/comments?post=3967"}],"version-history":[{"count":29,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/posts\/3967\/revisions"}],"predecessor-version":[{"id":4026,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/posts\/3967\/revisions\/4026"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/media\/3991"}],"wp:attachment":[{"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/media?parent=3967"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/categories?post=3967"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.virtualcast.jp\/blog\/wp-json\/wp\/v2\/tags?post=3967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}