示例#1
0
 public void Release()
 {
     try
     {
         OnRelease();
     }
     catch (Exception e)
     {
         Debug.LogError(e.ToString());
     }
     HeapObjectPool.ReleaseObject(GetType().Name, this);
 }