Exemple #1
0
    /// <summary>
    /// 
    /// </summary>
    void OnDestroy()
    {
        procMgr.Destroy();
        procMgr = null;
        Destroy(testObject);

        Resources.UnloadUnusedAssets();
        //! GC ??
        System.GC.Collect();
    }
Exemple #2
0
    /// <summary>
    ///
    /// </summary>
    void OnDestroy()
    {
        procMgr.Destroy();
        procMgr = null;
        Destroy(testObject);

        Resources.UnloadUnusedAssets();
        //! GC ??
        System.GC.Collect();
    }