Prefs Utility - Player & Editor Ext.

Description

Prefs Utility is an extension of EditorPrefs ans PlayerPrefs classes, adding various common types of data used in unity as: Vector2, Vector3, Vector4, Quaternion, Rect, Matrix4x4, Bounds, Color, Color32, Booleans types

also enable save arrays of previous datas, included arrays of Int, Float, String.

also enable encryption this datas

 

Assets Store: http://u3d.as/wDk
Demo: https://darkcomtech.itch.io/tellus-demo
WebSite: http://darkcom.wix.com/darkcomtech/tellus

Annex also comes the possibility of some prefabs position using the random.seed function and some extra parameters to determine the height and angle you want the objects appear.

Warning

Prefs Utilities may change in the future in same way this manual, note that this asset is created to facilitate the data usage giving a good base from which, generated designs can be simple, 

How to use

== PlayerPrefs Editor ==

To open the PlayersPrefs Editor go to Window -> Player Prefs Editor

This will open an editor window which you can dock like any other Unity window.


= The Player Prefs List = 

If you have existing saved player prefs you should see them listed in the main window. You can change the values just by changing the value text box, you can also delete one of these existing player prefs by clicking the X button on the right.


= Search =

The editor supports filtering keys by enterring a keyword in the search textbox at the top. As you type the search results will refine. Search is case-insensitive and if auto-decrypt is turned on it will also work with encrypted player prefs.


= Adding A New Player Pref = 

At the bottom of the editor you'll see a section for adding a new player pref. There are toggle options to determine what type it is and a checkbox for whether the player pref should be encrypted. Once you've selected the right settings and filled in a key and value hit the Add button to instantly add the player pref.


= Deleting An Existing Player Pref =

To delete an existing player pref, click the X button next to the player pref in the list. You can also delete all player prefs by clicking the Delete All button at the bottom of the editor.

 

== PlayerPrefs Utilities ==

IMPORTANT: If using encryption, make sure you change the key specified in SimpleEncryption.cs, this will make sure your key is unique and make the protection stronger.

In PlayerPrefsUtility.cs you'll find a set of utility methods for dealing with encryption and also new data types. There is documentation within this file explaining how each method works. There is also additional documentation at https://darkcom.wixsite.com/darkcomtech/PrefsUtilities/

Please reload

Cómo usar PlayerPrefs Editor

Cómo usar PlayerPrefs Utility

Recuerda que Darkcom.dev es tu sitio para aprender de desarrollo indie, tutoriales de programación diseño y lugar de adquirir game assets para tus proyectos

© 2023 por Darkcom. Proudly created with Wix.com | Peñol, Antioquia, Colombia| +57 3113389725 | Politica de privacidad

  • GitHub
  • BMadrid
  • DarkcomDev
  • Darkcom.dev
  • Braulio-Madrid
  • YouTube Darkcom Tech
This site was designed with the
.com
website builder. Create your website today.
Start Now