This commit is contained in:
wangzhixun 2025-11-05 14:28:09 +08:00
parent 3b3790725d
commit 5b917bc65a
9 changed files with 23 additions and 74 deletions

View File

@ -93,12 +93,12 @@ namespace RenderHeads.Media.AVProVideo.Demos
private readonly LazyShaderProperty _propSpectrum = new LazyShaderProperty("_Spectrum"); private readonly LazyShaderProperty _propSpectrum = new LazyShaderProperty("_Spectrum");
private readonly LazyShaderProperty _propSpectrumRange = new LazyShaderProperty("_SpectrumRange"); private readonly LazyShaderProperty _propSpectrumRange = new LazyShaderProperty("_SpectrumRange");
void Awake()
{
#if UNITY_IOS
Application.targetFrameRate = 60;
#endif
}
void Start() void Start()
{ {

View File

@ -8,11 +8,6 @@ namespace UnityStandardAssets.CrossPlatformInput
public string Name; public string Name;
void OnEnable()
{
}
public void SetDownState() public void SetDownState()
{ {
CrossPlatformInputManager.SetButtonDown(Name); CrossPlatformInputManager.SetButtonDown(Name);
@ -41,10 +36,5 @@ namespace UnityStandardAssets.CrossPlatformInput
{ {
CrossPlatformInputManager.SetAxisNegative(Name); CrossPlatformInputManager.SetAxisNegative(Name);
} }
public void Update()
{
}
} }
} }

View File

@ -26,15 +26,15 @@ public class CarMoverToWeigh : MonoBehaviour
{ {
Instance = this; Instance = this;
} }
void Start()
{
//CloneModel = Instantiate(ModerController.Instance.prefabModel, transform);
//for (int i = 0; i < CloneModel.transform.childCount; i++)
//{
// CloneModel.transform.GetChild(i).gameObject.SetActive(false);
//}
//CloneModel.transform.position = CarClonePoint.transform.position;
}
/// <summary> /// <summary>
/// 汽车移动 /// 汽车移动
/// </summary> /// </summary>

View File

@ -180,11 +180,11 @@ public class ERPCollection : MonoBehaviour
//HideGuide(); //HideGuide();
} }
} }
private void Update()
{
//string str = MotionEngine.GetModule<ProcessManager>().GetCurrentActionTitle();
//Debug.Log(str);
}
/// <summary> /// <summary>
/// 关闭并显示下一步引导(外部调用) /// 关闭并显示下一步引导(外部调用)
@ -221,7 +221,6 @@ public class ERPCollection : MonoBehaviour
public void HideGuide() public void HideGuide()
{ {
LoadTriggerNextGuide("关闭"); LoadTriggerNextGuide("关闭");
; //关闭当前引导
} }
/// <summary> /// <summary>

View File

@ -4,11 +4,6 @@ using UnityEngine;
public class UILookAt : MonoBehaviour public class UILookAt : MonoBehaviour
{ {
void Start()
{
}
void Update() void Update()
{ {
transform.LookAt(Camera.main.transform); transform.LookAt(Camera.main.transform);

View File

@ -24,10 +24,6 @@ public class UI_StampConfirmationManager : MonoBehaviour
Checkobject = GameObject.Find("RightClickMenu"); Checkobject = GameObject.Find("RightClickMenu");
Checkobject.SetActive(false); Checkobject.SetActive(false);
} }
void Start()
{
}
/// <summary> /// <summary>
/// 单据生成后执行 /// 单据生成后执行
@ -35,16 +31,5 @@ public class UI_StampConfirmationManager : MonoBehaviour
public void ExecuteAfterDocumentGeneration() public void ExecuteAfterDocumentGeneration()
{ {
uI_StampConfirmations = FindObjectsOfType<UI_StampConfirmation>(true).ToList(); uI_StampConfirmations = FindObjectsOfType<UI_StampConfirmation>(true).ToList();
//for(int i = 0; i < uI_StampConfirmations.Count; i++)
//{
// if (MotionFramework.MotionEngine.GetModule<ProcessManager>()._currentMode == ProcessMode.教学模式)
// {
// GameObject highlightObj = LoadPrefabFromResources("Prefabs/单据/HighlightObj", uI_StampConfirmations[i].transform);
// if (highlightObj != null)
// {
// uI_StampConfirmations[i].HighlightObj = highlightObj;
// }
// }
//}
} }
} }

View File

@ -174,10 +174,6 @@ public class PrintReturnSlip : MonoBehaviour
Init(); Init();
} }
void Update()
{
}
void Init() void Init()
{ {
// CombinedClass combined = GameManager.Instance.combinedClass; // CombinedClass combined = GameManager.Instance.combinedClass;

View File

@ -187,9 +187,4 @@ public class AddAnswerSheet : MonoBehaviour
{ {
TutorialGuideManager.Instance.TriggerNextGuide(); TutorialGuideManager.Instance.TriggerNextGuide();
} }
// Update is called once per frame
void Update()
{
}
} }

View File

@ -6,34 +6,23 @@ using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
/// <summary> /// <summary>
/// 调配申请单据控制 /// 调配申请单据控制
/// </summary> /// </summary>
public class ProvisioningRequisition : MonoBehaviour public class ProvisioningRequisition : MonoBehaviour
{ {
/// <summary> /// <summary>
/// 需求数量 /// 需求数量
/// </summary> /// </summary>
public TextMeshProUGUI Number; public TextMeshProUGUI Number;
public Button closebt; public Button closebt;
void Start() void Start()
{ {
Init();
closebt.onClick.AddListener(() => closebt.onClick.AddListener(() =>
{ {
TutorialGuideManager.Instance.TriggerNextGuide(); TutorialGuideManager.Instance.TriggerNextGuide();
}); });
}
void Update()
{
Number.text = "14"; Number.text = "14";
} }
/// <summary>
/// 单据初始化赋值
/// </summary>
public void Init()
{
//CombinedClass combined = new CombinedClass();
//Number.text = combined.NeedNumber;
}
} }