示例#1
0
 protected virtual void Awake()
 {
     _poolObjectAutoDeactivate = GetComponent <PoolObjectAutoDeactivate>();
     objectHealthBar           = GetComponentInChildren <UI_ObjectHealthBar>();
     RendererEffect            = new RendererEffect(gameObject);
 }
示例#2
0
 private void Awake()
 {
     _poad = GetComponent <PoolObjectAutoDeactivate>();
 }