Skip to content

Instantly share code, notes, and snippets.

View alt3d's full-sized avatar

Denis Rakhimov alt3d

View GitHub Profile
@Alexander-van-der-Zalm
Alexander-van-der-Zalm / OnChangedCallAttribute.cs
Last active September 15, 2020 04:59
Unity3D - PropertyAttribute - OnChanged Call a method (more options(arguments, playmodeOnly/editorOnly/Both & basic error checking)
using System.Linq;
using UnityEngine;
using UnityEditor;
using System;
public class OnChangedCallAttribute : PropertyAttribute
{
public enum RunTimeCriteriaEnum
{
EditorOnly,