public void DumpStr(StringBuilder sb, string prefix)
 {
     sb.AppendLine(prefix + "EntityId" + ":" + EntityId.ToString());
     sb.AppendLine(prefix + "PrefabId" + ":" + PrefabId.ToString());
     sb.AppendLine(prefix + "Timer" + ":" + Timer.ToString());
     sb.AppendLine(prefix + "Info" + ":");  Info.DumpStr(sb, "\t" + prefix);
     sb.AppendLine(prefix + "transform" + ":");  transform.DumpStr(sb, "\t" + prefix);
 }
 public void DumpStr(StringBuilder sb, string prefix)
 {
     sb.AppendLine(prefix + "EntityId" + ":" + EntityId.ToString());
     sb.AppendLine(prefix + "PrefabId" + ":" + PrefabId.ToString());
     sb.AppendLine(prefix + "curHealth" + ":" + curHealth.ToString());
     sb.AppendLine(prefix + "damage" + ":" + damage.ToString());
     sb.AppendLine(prefix + "isFire" + ":" + isFire.ToString());
     sb.AppendLine(prefix + "isInvincible" + ":" + isInvincible.ToString());
     sb.AppendLine(prefix + "maxHealth" + ":" + maxHealth.ToString());
     sb.AppendLine(prefix + "moveSpd" + ":" + moveSpd.ToString());
     sb.AppendLine(prefix + "turnSpd" + ":" + turnSpd.ToString());
     sb.AppendLine(prefix + "animator" + ":");  animator.DumpStr(sb, "\t" + prefix);
     sb.AppendLine(prefix + "brain" + ":");  brain.DumpStr(sb, "\t" + prefix);
     sb.AppendLine(prefix + "colliderData" + ":");  colliderData.DumpStr(sb, "\t" + prefix);
     sb.AppendLine(prefix + "rigidbody" + ":");  rigidbody.DumpStr(sb, "\t" + prefix);
     sb.AppendLine(prefix + "skillBox" + ":");  skillBox.DumpStr(sb, "\t" + prefix);
     sb.AppendLine(prefix + "transform" + ":");  transform.DumpStr(sb, "\t" + prefix);
 }