JUtils
A unity utilities library
|
Receive a call when the play mode has been changed in a resource. Can be used to reset some data of a resource More...
Public Member Functions | |
ResourcePlayModeChangeCallbackReceiverAttribute (string resourcesFolder) | |
Public Attributes | |
readonly string | folder |
Receive a call when the play mode has been changed in a resource. Can be used to reset some data of a resource
[ResourcePlayModeChangeCallbackReceiver(resourcesFolder = "Events")] public partial class EventChannel : IResourcePlayModeChangeCallbackReceiver // You don't need to inherit from IResourcePlayModeChangeCallbackReceiver. It helps with getting the functions available { // Must be public! public void OnPlayModeEnter() { }
// Must be public! public void OnPlayModeExit() { listeners = null; }
}
|
inline |
readonly string JUtils.ResourcePlayModeChangeCallbackReceiverAttribute.folder |