/// <summary> /// It is possible that certain handles are not going to be in-place /// when registration of the OnStartComplete callback is invoked. /// The is especially true in scenarios where MmRelayNodes are networked. /// This allows for a deferred registration, eliminating most /// instances where the Start callback invocations fail. /// </summary> /// <param name="callback">Callback to be registered.</param> public void MmRegisterStartCompleteCallback(IMmCallback callback) { MmStartCompleteCallback += callback; }
/// <summary> /// It is possible that certain handles are not going to be in-place /// when registration of the OnAwakeComplete callback is invoked. /// The is especially true in scenarios where MmRelayNodes are networked. /// This allows for a deferred registration, eliminating most /// instances where the Awake callback invocations fail. /// </summary> /// <param name="callback">Callback to be registered.</param> public void MmRegisterAwakeCompleteCallback(IMmCallback callback) { MmAwakeCompleteCallback += callback; }