private void OnLoadSucc(Resource res) { var callback = m_cCallback; m_cCallback = null; if (res.isSucc) { byte[] bytes = res.GetBytes(); m_cHangPointSet = NEUtil.DeSerializerObjectFromBuff(bytes, typeof(HangPointSet)) as HangPointSet; } if (callback != null) { callback(); } }
public override void Dispose() { m_cHangPointSet = null; base.Dispose(); }