private void OnDestroy() { if (flagAgent) { flagAgent.Recycle(); } }
protected override void OnDestroy_() { if (flagAgent) { flagAgent.Recycle(); } }