public virtual IEnumerator _90_Reset() { sharedVariable.OnAfterDeserialize(); // yield to skip a frame yield return(null); Assert.AreEqual(sharedVariable.InitialValue, sharedVariable.RuntimeValue, "Initial value and Runtime Value should be the same after OnAfterDeserialize is called."); }