Skip to content

Instantly share code, notes, and snippets.

View AndrewCarvalho's full-sized avatar

Andrew Carvalho AndrewCarvalho

View GitHub Profile
//Copyright( c) 2017 Andrew Carvalho, Laundry Bear Games Inc.
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
//copies of the Software, and to permit persons to whom the Software is
//furnished to do so, subject to the following conditions:
//The above copyright notice and this permission notice shall be included in all
@AndrewCarvalho
AndrewCarvalho / CloudSave.cs
Created October 28, 2018 22:38
Partial Class Example
using UnityEngine;
public static partial class CloudSave
{
public static void Initialize()
{
InitializeNative();
}
public static void StoreStringToCloud(string recordType, string recordName, string recordValue )
@AndrewCarvalho
AndrewCarvalho / MonoBehaviourDrawer.cs
Created March 22, 2020 02:44
Unity MonoBehaviour UIElements Inspector Implementation
using UnityEditor;
using UnityEditor.UIElements;
using UnityEngine;
using UnityEngine.UIElements;
[CustomEditor(typeof(MonoBehaviour), true, isFallback = true)]
public class MonoBehaviourDrawer : Editor
{
public override void OnInspectorGUI()
{