This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System; | |
//Original version of the ConditionalHideAttribute created by Brecht Lecluyse (www.brechtos.com) | |
//Modified by: - | |
[ AttributeUsage( AttributeTargets.Field ) ] | |
public class ConditionalHideAttribute : PropertyAttribute | |
{ | |
public readonly string ConditionalSourceField; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using UnityEngine; | |
/// <summary> | |
/// A replacement for Unity's PlayerPrefs that stores data in a JSON file. | |
/// </summary> | |
[Serializable] | |
public class JsonPlayerPrefs |