public void OnBack() { myState = WoundedBodyState.Back; moveTarget = hostArea.GetComponent <Collider2D>(); }
public void OnWounded() { myState = WoundedBodyState.Wounded; moveTarget = baseArea.GetComponent <Collider2D>(); }