public BGMCallbackPackage(BGMCallback in_cb, object in_cookie) { m_Callback = in_cb; m_Cookie = in_cookie; }
/// Call this to set a iOS callback interruption function. /// By default this callback is not defined. static public void SetBGMCallback(BGMCallback in_CB, object in_cookie) { ms_sourceChangeCallbackPkg = new BGMCallbackPackage(in_CB, in_cookie); }
/// Call this to set a background music callback function. By default this callback is not defined. public static void SetBGMCallback(BGMCallback in_CB, object in_cookie) { ms_sourceChangeCallbackPkg = new BGMCallbackPackage { m_Callback = in_CB, m_Cookie = in_cookie }; }