This commit is contained in:
2024-02-19 09:05:44 +08:00
parent 66905ab778
commit 05b19e8a4b
3 changed files with 28 additions and 26 deletions

View File

@@ -89,31 +89,31 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"ASKED_ADD_EXTERNAL_FILES": "true",
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"WebServerToolWindowFactoryState": "false",
"XThreadsFramesViewSplitterKey": "0.3888889",
"git-widget-placeholder": "LRC",
"ignore.virus.scanning.warn.message": "true",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
"settings.editor.selected.configurable": "preferences.sourceCode",
"vue.rearranger.settings.migration": "true"
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;ASKED_ADD_EXTERNAL_FILES&quot;: &quot;true&quot;,
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
&quot;XThreadsFramesViewSplitterKey&quot;: &quot;0.3888889&quot;,
&quot;git-widget-placeholder&quot;: &quot;LRC&quot;,
&quot;ignore.virus.scanning.warn.message&quot;: &quot;true&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
&quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;preferences.sourceCode&quot;,
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
},
"keyToStringList": {
"rider.external.source.directories": [
"C:\\Users\\LRC\\AppData\\Roaming\\JetBrains\\Rider2023.2\\resharper-host\\DecompilerCache",
"C:\\Users\\LRC\\AppData\\Roaming\\JetBrains\\Rider2023.2\\resharper-host\\SourcesCache",
"C:\\Users\\LRC\\AppData\\Local\\Symbols\\src"
&quot;keyToStringList&quot;: {
&quot;rider.external.source.directories&quot;: [
&quot;C:\\Users\\LRC\\AppData\\Roaming\\JetBrains\\Rider2023.2\\resharper-host\\DecompilerCache&quot;,
&quot;C:\\Users\\LRC\\AppData\\Roaming\\JetBrains\\Rider2023.2\\resharper-host\\SourcesCache&quot;,
&quot;C:\\Users\\LRC\\AppData\\Local\\Symbols\\src&quot;
]
}
}]]></component>
}</component>
<component name="RunManager" selected="附加到 Unity 编辑器.附加到 Unity 编辑器并运行">
<configuration name="启动 Unity" type="RunUnityExe" factoryName="Unity Executable">
<option name="EXE_PATH" value="D:\Program Files\Unity\Hub\Unity 2022.1.24f1\Editor\Unity.exe" />
@@ -244,7 +244,9 @@
<workItem from="1705107137400" duration="89000" />
<workItem from="1705108203131" duration="4538000" />
<workItem from="1705124586199" duration="7268000" />
<workItem from="1705537755313" duration="3630000" />
<workItem from="1705537755313" duration="3808000" />
<workItem from="1705976211572" duration="751000" />
<workItem from="1706489250478" duration="195000" />
</task>
<servers />
</component>

View File

@@ -11,7 +11,7 @@ using XericLibrary.Runtime.CustomDrawer;
using DDDInducator.Runtime.Draw;
using Random = System.Random;
#if UNITY_EDITOR
#if !UNITY_EDITOR
using Unity.Tutorials.Core.Editor;
using Sirenix.Utilities.Editor;
using UnityEditor;

View File

@@ -21,13 +21,13 @@ namespace LRC
private Object other;
#endregion
#region <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
protected override void UpdateEndPointFormStartTrace(Vector3 dir)
{
var ray = new Ray(startPoint, dir);
bool valid = false;
if(Physics.Raycast(ray, out var hit, MaxTraceLength, LayerMask))
{