This gist is now a repo: https://github.com/mikerochip/addressables-training-manual
Easier to remember the URL that way!
using System; | |
using System.Collections; | |
using UnityEditor; | |
namespace MikeSchweitzer | |
{ | |
public static class SerializedPropertyExtensions | |
{ | |
public static T[] GetAllValues<T>(this SerializedProperty property) | |
{ |
using HutongGames.PlayMakerEditor; | |
using UnityEditor; | |
namespace OrgName.ProjectName.Unity.Editor.AnnoyingStuff | |
{ | |
public class PluginSuppressor : AssetPostprocessor | |
{ | |
[InitializeOnLoadMethod] | |
private static void Initialize() | |
{ |
# directories | |
**/bin/ | |
**/obj/ | |
**/out/ | |
# files | |
Dockerfile* | |
**/*.md |
public class LeanContractResolver : DefaultContractResolver | |
{ | |
public static LeanContractResolver Instance { get; } = new(); | |
protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization memberSerialization) | |
{ | |
var property = base.CreateProperty(member, memberSerialization); | |
if (property.PropertyType == null) | |
return property; |
This gist is now a repo: https://github.com/mikerochip/addressables-training-manual
Easier to remember the URL that way!