KeyChain.BindDeleteKeyChainUser C# (CSharp) Method

BindDeleteKeyChainUser() public static method

public static BindDeleteKeyChainUser ( ) : void
return void
    public static void BindDeleteKeyChainUser()
    {
        deleteKeyChainUser();
    }

Usage Example

Esempio n. 1
0
    void OnGUI()
    {
        GUILayoutOption[] ops = new GUILayoutOption[] {};

        GUI.skin.label.fontSize    = 30;
        GUI.skin.textArea.fontSize = 30;
        GUI.skin.button.fontSize   = 30;

        if (GUILayout.Button("UUID", ops))
        {
            currentUUID = SystemInfo.deviceUniqueIdentifier;
            Debug.Log("CurrentUUID: [" + currentUUID + "]");
        }

        GUILayout.TextArea(currentUUID, ops);

        if (GUILayout.Button("Load UUID", ops))
        {
            saveUUID = KeyChain.BindGetKeyChainUser();
            Debug.Log("LoadUUID: [" + saveUUID + "]");
        }

        GUILayout.TextArea(saveUUID, ops);

        if (GUILayout.Button("Save UUID", ops))
        {
            currentUUID = SystemInfo.deviceUniqueIdentifier;
            KeyChain.BindSetKeyChainUser("0", currentUUID);
            Debug.Log("SaveUUID: [" + currentUUID + "]");
        }

        if (GUILayout.Button("Delete UUID", ops))
        {
            KeyChain.BindDeleteKeyChainUser();
        }
    }