protected override void OnInit(object userData)
 {
     base.OnInit(userData);
     randomSound     = GetComponent <RandomSound>();
     effectPointData = GetComponent <EffectPointData>();
     deadEffect      = GetComponent <DeadEffect>();
     hpBarRoot       = transform.Find("HealthBar");
 }
 public void OnInit(object userData)
 {
     randomSound = GetComponent <RandomSound>();
 }