コード例 #1
0
        private void Awake()
        {
            bodyHitsPerCurve = new Dictionary <int, List <BodyHitUI> >();

            // Don't allow Play Mode when this script is in the scene
            if (EditorApplication.isPlaying)
            {
                EditorApplication.isPlaying = false;
            }

            hapticSettings = ScriptableHapticSettings.GetSettings();
        }
コード例 #2
0
        private void GetMostRecentSettings()
        {
            persistentSettingsData = ScriptableHapticSettings.GetSettings();

            temporarySettingsData = persistentSettingsData;
        }