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