示例#1
0
        public override void OnDestroy()
        {
            base.OnDestroy();

            if (Destroyed != null)
            {
                Destroyed.Invoke(this);
            }
            _tracker.Dispose();

            Destroyed = null;
        }