示例#1
0
 private void OnEnable()
 {
     if (AllDrawableList == null)
     {
         AllDrawableList = new List <DrawableBase>();
     }
     AllDrawableList.Add(this);
 }
示例#2
0
 private void OnDisable()
 {
     AllDrawableList.Remove(this);
 }