snaphat/UnityOnDisableOnlyExtensions
This repository contains a MonoBehaviour extension for Unity game engine. The extension introduces a new custom method OnDisableOnly, that is only called when a MonoBehaviourExtended object is disabled, but not when it is destroyed, unlike the built-in OnDisable method.
C#Unlicense