Files
beyond/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsDeleteAll.cs
2024-11-20 15:21:28 +01:00

21 lines
427 B
C#

// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved.
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory("PlayerPrefs")]
[Tooltip("Removes all keys and values from the preferences. Use with caution.")]
public class PlayerPrefsDeleteAll : FsmStateAction
{
public override void Reset()
{
}
public override void OnEnter()
{
PlayerPrefs.DeleteAll();
Finish();
}
}
}