軌跡記錄器更改成Raw Input
This commit is contained in:
1 parent
14140797ba
commit
ec0708d05b
17 files changed
+605
-316
No files matched your search
@@ -92,17 +92,23 @@ public class SettingsSaver : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
// 要勾同意書,而且 Raw Input 正常運作 (沒有它就拿不到每一筆的真實時間,資料不能用) ; 測試不受影響
|
||||
void OnConsentChanged(bool isOn)
|
||||
{
|
||||
if (startButton != null)
|
||||
{
|
||||
startButton.interactable = isOn;
|
||||
startButton.interactable = isOn && RawMouseInput.IsRunning;
|
||||
}
|
||||
}
|
||||
|
||||
void OnStartClicked()
|
||||
{
|
||||
if (consentToggle != null && !consentToggle.isOn) return;
|
||||
if (!RawMouseInput.IsRunning)
|
||||
{
|
||||
Debug.LogWarning($"Raw Input 沒有運作 ({RawMouseInput.Status}),無法開始收集資料");
|
||||
return;
|
||||
}
|
||||
|
||||
if (selectPanel != null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user