Curious as to if onApplicationQuit() would be called on a regular class that is
using UnityEngine;
Example:
using System;
using UnityEngine;
public class Foo
{
void OnApplicationQuit()
{
Debug.Log("Application Quit");
}
}
Then
using System;
using UnityEngine;
public class Bar : MonoBehaviour
{
Foo = new Foo();
}
Would Foo->OnApplicationQuit()
be invoked?