2.0006
This commit is contained in:
parent
693b915b0a
commit
bd1d86b54d
|
|
@ -95,10 +95,10 @@ namespace Coffee.UIEffects
|
|||
/// </summary>
|
||||
public void Play(bool reset, Action<float> callback = null)
|
||||
{
|
||||
if (reset)
|
||||
{
|
||||
|
||||
|
||||
_time = 0;
|
||||
}
|
||||
|
||||
|
||||
play = true;
|
||||
if (callback != null)
|
||||
|
|
|
|||
|
|
@ -49,10 +49,10 @@ namespace ZTools
|
|||
};
|
||||
zCalendarController.Init();
|
||||
// <20><><EFBFBD><EFBFBD>ʱ<EFBFBD>Զ<EFBFBD><D4B6><EFBFBD>ʼ<EFBFBD><CABC>
|
||||
if (zCalendarModel.awake2Init)
|
||||
{
|
||||
|
||||
|
||||
Init();
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>ʼ<EFBFBD><CABC>
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ namespace ZTools
|
|||
public bool isPopupCalendar = false;
|
||||
[Header("当前是否为静态日历")]
|
||||
public bool isStaticCalendar = false;
|
||||
[Header("自动修改日期尺寸")]
|
||||
public bool autoSetItemSize = true;
|
||||
|
||||
|
||||
[Header("是否可以选择时间范围")]
|
||||
public bool rangeCalendar = false;
|
||||
[Header("--------------------------------------------------------------------")]
|
||||
|
|
@ -50,10 +50,10 @@ namespace ZTools
|
|||
bak.SetActive(true);
|
||||
this.GetComponent<ZCalendar>().Hide();
|
||||
}
|
||||
if (autoSetItemSize)
|
||||
{
|
||||
|
||||
|
||||
SetItemSize();
|
||||
}
|
||||
|
||||
if (isPopupCalendar)
|
||||
{
|
||||
AddCloseBtn();
|
||||
|
|
|
|||
|
|
@ -444,8 +444,8 @@ namespace RenderHeads.Media.AVProVideo.Editor
|
|||
IMediaControl control = mediaPlayer.Control;
|
||||
bool showBrowseMenu = false;
|
||||
|
||||
if (true)
|
||||
{
|
||||
|
||||
|
||||
bool isPlaying = false;
|
||||
if (control != null)
|
||||
{
|
||||
|
|
@ -649,7 +649,7 @@ namespace RenderHeads.Media.AVProVideo.Editor
|
|||
}
|
||||
|
||||
EditorGUILayout.EndHorizontal();
|
||||
}
|
||||
|
||||
EditorGUILayout.EndVertical();
|
||||
|
||||
if (showBrowseMenu)
|
||||
|
|
|
|||
|
|
@ -1361,11 +1361,11 @@ namespace RenderHeads.Media.AVProVideo
|
|||
#endif
|
||||
#endif
|
||||
// Fallback
|
||||
if (mediaPlayer == null)
|
||||
{
|
||||
|
||||
|
||||
Debug.LogError(string.Format("[AVProVideo] Not supported on this platform {0} {1} {2} {3}. Using null media player!", Application.platform, SystemInfo.deviceModel, SystemInfo.processorType, SystemInfo.operatingSystem));
|
||||
mediaPlayer = CreateMediaPlayerNull();
|
||||
}
|
||||
|
||||
|
||||
return mediaPlayer;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -107,11 +107,11 @@ namespace RenderHeads.Media.AVProVideo
|
|||
}
|
||||
}
|
||||
#endif
|
||||
if (reset)
|
||||
{
|
||||
|
||||
|
||||
//Debug.Log("Reset");
|
||||
_eventFired_FinishedPlaying = false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -412,8 +412,8 @@ namespace Framework.Manager
|
|||
if (uiObjects.TryGetValue(currentStep.uiObjectName, out GameObject uiObject))
|
||||
{
|
||||
// 如果启用了UI状态检测,需要检查UI是否完全显示
|
||||
//if (enableUIStateCheck)
|
||||
//{
|
||||
|
||||
|
||||
if (IsUIObjectFullyDisplayed(uiObject))
|
||||
{
|
||||
Debug.Log($"执行引导步骤: {currentStep.stepName} 查询的对象:{uiObject.name}");
|
||||
|
|
@ -428,14 +428,14 @@ namespace Framework.Manager
|
|||
bool delayedResult = await DelayedFindUIObjectAsync(currentStep);
|
||||
return delayedResult;
|
||||
}
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// Debug.Log($"执行引导步骤: {currentStep.stepName} 查询的对象:{uiObject.name}");
|
||||
// GuideMask.Instance.CreateRectangleMask(uiObject);
|
||||
// // 如果UI对象是InputField,自动聚焦到该输入框
|
||||
// FocusInputFieldIfApplicable(uiObject);
|
||||
//}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -50,13 +50,10 @@ namespace MotionFramework.Console
|
|||
/// <param name="assemblyName">扩展的控制台窗口所在的程序集</param>
|
||||
public static void Initialize(bool showFPS = true, string assemblyName = AssemblyUtility.UnityDefaultAssemblyName)
|
||||
{
|
||||
if (showFPS)
|
||||
{
|
||||
_fpsCounter = new FPSCounter();
|
||||
}
|
||||
_fpsCounter = new FPSCounter();
|
||||
|
||||
// 加载背景纹理
|
||||
string textureName = "console_background";
|
||||
// 加载背景纹理
|
||||
string textureName = "console_background";
|
||||
_bgTexture = Resources.Load<Texture>(textureName);
|
||||
if (_bgTexture == null)
|
||||
UnityEngine.Debug.LogWarning($"Not found {textureName} texture in Resources folder.");
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ namespace UnityStandardAssets.Characters.FirstPerson
|
|||
m_CharacterTargetRot *= Quaternion.Euler (0f, yRot, 0f);
|
||||
m_CameraTargetRot *= Quaternion.Euler (-xRot, 0f, 0f);
|
||||
|
||||
if(clampVerticalRotation)
|
||||
|
||||
m_CameraTargetRot = ClampRotationAroundXAxis (m_CameraTargetRot);
|
||||
|
||||
if(smooth)
|
||||
|
|
|
|||
Loading…
Reference in New Issue