public void movePawn(ZoneController zc) { transform.localPosition = zc.LocalPosPawn(); initPos = transform.localPosition; transform.localPosition = new Vector3(transform.localPosition.x, transform.localPosition.y, -1); }
public void movePawn(ZoneController zc) { transform.localPosition = zc.LocalPosPawn(); initPos = transform.localPosition; transform.localPosition = new Vector3(transform.localPosition.x, transform.localPosition.y, -1); }