Skip to content

Instantly share code, notes, and snippets.

Avatar

René Dalby Carlsen volblob

View GitHub Profile
@volblob
volblob / ScriptableObjectReload.cs
Created Jan 21, 2019
Code to illustrate new reloading of ScriptableObject in Unity 2019.1
View ScriptableObjectReload.cs
using System.IO;
using UnityEngine;
using UnityEditor;
// Save this to a file named ScriptableObjectReload.cs and run this example with menu item "Examples" -> "Reload ScriptableObject Example"
public class ScriptableObjectReload : ScriptableObject
{
const string assetPath = "Assets/ScriptObject.asset";
public string stringValue;
You can’t perform that action at this time.