Merge branch '3d-2.0' of http://gitea.umayle.com/huangjiayu/Test-TaizhouWarehousePhaseII into 3d-2.0
This commit is contained in:
commit
dcfd193bcb
|
|
@ -238,7 +238,7 @@ namespace HighlightPlus {
|
||||||
|
|
||||||
|
|
||||||
bool CanInteract() {
|
bool CanInteract() {
|
||||||
if (!respectUI) return true;
|
|
||||||
EventSystem es = EventSystem.current;
|
EventSystem es = EventSystem.current;
|
||||||
if (es == null) return true;
|
if (es == null) return true;
|
||||||
if (Application.isMobilePlatform && InputProxy.touchCount > 0 && es.IsPointerOverGameObject(InputProxy.GetFingerIdFromTouch(0))) {
|
if (Application.isMobilePlatform && InputProxy.touchCount > 0 && es.IsPointerOverGameObject(InputProxy.GetFingerIdFromTouch(0))) {
|
||||||
|
|
|
||||||
|
|
@ -256,7 +256,7 @@ namespace HighlightPlus {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void SwitchCollider(Collider newCollider) {
|
void SwitchCollider(Collider newCollider) {
|
||||||
if (!highlightOnHover && !hb.isSelected) return;
|
if (!hb.isSelected) return;
|
||||||
|
|
||||||
currentCollider = newCollider;
|
currentCollider = newCollider;
|
||||||
if (currentCollider != null) {
|
if (currentCollider != null) {
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ namespace ZTools
|
||||||
{
|
{
|
||||||
zCalendarModel.zCalendarController = this;
|
zCalendarModel.zCalendarController = this;
|
||||||
zCalendarModel.Init();
|
zCalendarModel.Init();
|
||||||
if (zCalendarModel.isStaticCalendar) return;
|
|
||||||
// <20><>̬<EFBFBD><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɹر<C9B9>
|
// <20><>̬<EFBFBD><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɹر<C9B9>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -145,7 +145,7 @@ namespace RenderHeads.Media.AVProVideo
|
||||||
|| !useHardwareDecoding
|
|| !useHardwareDecoding
|
||||||
|
|
||||||
|| use10BitTextures
|
|| use10BitTextures
|
||||||
|| useLowLatency
|
|
||||||
|| audioOutput != WindowsUWP.AudioOutput.System
|
|| audioOutput != WindowsUWP.AudioOutput.System
|
||||||
|| (audio360ChannelMode != Audio360ChannelMode.TBE_8_2)
|
|| (audio360ChannelMode != Audio360ChannelMode.TBE_8_2)
|
||||||
|| videoApi != WindowsUWP.VideoApi.WinRT
|
|| videoApi != WindowsUWP.VideoApi.WinRT
|
||||||
|
|
@ -606,7 +606,7 @@ namespace RenderHeads.Media.AVProVideo
|
||||||
|
|
||||||
public override bool IsModified()
|
public override bool IsModified()
|
||||||
{
|
{
|
||||||
return (base.IsModified() || externalLibrary != WebGL.ExternalLibrary.None || useTextureMips);
|
return (base.IsModified() || externalLibrary != WebGL.ExternalLibrary.None);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Decryption support
|
// Decryption support
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ using UnityEditor;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
public class QuestionConfigEditor : EditorWindow
|
public class QuestionConfigEditor : EditorWindow
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -137,13 +137,13 @@ namespace NaughtyAttributes.Editor
|
||||||
{
|
{
|
||||||
if (_nonSerializedFields.Any())
|
if (_nonSerializedFields.Any())
|
||||||
{
|
{
|
||||||
if (drawHeader)
|
|
||||||
{
|
|
||||||
EditorGUILayout.Space();
|
|
||||||
EditorGUILayout.LabelField("Non-Serialized Fields", GetHeaderGUIStyle());
|
|
||||||
NaughtyEditorGUI.HorizontalLine(
|
|
||||||
EditorGUILayout.GetControlRect(false), HorizontalLineAttribute.DefaultHeight, HorizontalLineAttribute.DefaultColor.GetColor());
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (var field in _nonSerializedFields)
|
foreach (var field in _nonSerializedFields)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -648,7 +648,7 @@ namespace DG.Tweening
|
||||||
if (tween == null) {
|
if (tween == null) {
|
||||||
if (Debugger.logPriority > 1) Debugger.LogNullTween(tween); return;
|
if (Debugger.logPriority > 1) Debugger.LogNullTween(tween); return;
|
||||||
}
|
}
|
||||||
if (fromHere && isRelative) ReEvaluateRelativeTween();
|
|
||||||
DOTween.Restart(GetTweenTarget());
|
DOTween.Restart(GetTweenTarget());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ namespace Cysharp.Threading.Tasks.Internal
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
if (lockTaken) locks[index].Exit(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -97,7 +97,7 @@ namespace Cysharp.Threading.Tasks.Internal
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
if (lockTaken) locks[index].Exit(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -180,7 +180,7 @@ namespace Cysharp.Threading.Tasks.Internal
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
if (lockTaken) gate.Exit(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -231,14 +231,14 @@ namespace Cysharp.Threading.Tasks.Internal
|
||||||
// avoid allocate everytime.
|
// avoid allocate everytime.
|
||||||
public int ToList(ref List<KeyValuePair<TKey, TValue>> list, bool clear = true)
|
public int ToList(ref List<KeyValuePair<TKey, TValue>> list, bool clear = true)
|
||||||
{
|
{
|
||||||
if (clear)
|
|
||||||
{
|
|
||||||
list.Clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
var listIndex = 0;
|
var listIndex = 0;
|
||||||
|
|
||||||
bool lockTaken = false;
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
for (int i = 0; i < buckets.Length; i++)
|
for (int i = 0; i < buckets.Length; i++)
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ namespace Cysharp.Threading.Tasks
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
if (lockTaken) gate.Exit(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,10 +61,10 @@ public class ProgressBarController : MonoBehaviour
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
if (autoStart)
|
|
||||||
{
|
|
||||||
StartProgress();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -224,17 +224,16 @@ public class QuestionManager : MonoBehaviour
|
||||||
c.questionName == name && c.configType == type);
|
c.questionName == name && c.configType == type);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取对象的Hierarchy路径
|
|
||||||
private string GetHierarchyPath(Transform trans)
|
|
||||||
{
|
|
||||||
string path = trans.name;
|
|
||||||
while (trans.parent != null)
|
|
||||||
{
|
|
||||||
trans = trans.parent;
|
|
||||||
path = trans.name + "/" + path;
|
|
||||||
}
|
|
||||||
return path;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 重新加载配置并绑定事件(可以在运行时调用)
|
// 重新加载配置并绑定事件(可以在运行时调用)
|
||||||
public void ReloadConfig()
|
public void ReloadConfig()
|
||||||
|
|
|
||||||
|
|
@ -471,8 +471,8 @@ public class ZipWrapper : MonoBehaviour
|
||||||
entry = new ZipEntry(entryName);
|
entry = new ZipEntry(entryName);
|
||||||
entry.DateTime = System.DateTime.Now;
|
entry.DateTime = System.DateTime.Now;
|
||||||
|
|
||||||
if ((null != _zipCallback) && !_zipCallback.OnPreZip(entry))
|
|
||||||
return true; // 跳过
|
|
||||||
|
|
||||||
// 使用 using 语句确保 FileStream 资源被正确释放
|
// 使用 using 语句确保 FileStream 资源被正确释放
|
||||||
using (FileStream fileStream = File.OpenRead(_filePathName))
|
using (FileStream fileStream = File.OpenRead(_filePathName))
|
||||||
|
|
@ -516,8 +516,8 @@ public class ZipWrapper : MonoBehaviour
|
||||||
entry.DateTime = System.DateTime.Now;
|
entry.DateTime = System.DateTime.Now;
|
||||||
entry.Size = 0;
|
entry.Size = 0;
|
||||||
|
|
||||||
if ((null != _zipCallback) && !_zipCallback.OnPreZip(entry))
|
|
||||||
return true; // <20><><EFBFBD><EFBFBD>
|
|
||||||
|
|
||||||
_zipOutputStream.PutNextEntry(entry);
|
_zipOutputStream.PutNextEntry(entry);
|
||||||
_zipOutputStream.Flush();
|
_zipOutputStream.Flush();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue