void OnDisable() { if (_fig != null) { _fig.Dispose(); _fig = null; } }
private void OnDisable() { if (rend != null) { rend.enabled = false; } fig.Dispose(); }
public void Dispose() { if (_fig != null) { _fig.Dispose(); _fig = null; } }
protected override void OnDisable() { base.OnDisable(); if (gl != null) { gl.Dispose(); gl = null; } }
private void OnDisable() { if (fig != null) { fig.Dispose(); fig = null; } fpositions.Clear(); ResizeFlowers(0); }