/** * Method used to update GameObject based on resolution subject */ public void UpdateObserver(IResolutionSubject subject) { if (startPoint != null) { m_LineRenderer.SetPosition(0, UpdateVector(startPoint)); } if (endPoint != null) { m_LineRenderer.SetPosition(1, UpdateVector(endPoint)); } }
public void UpdateObserver(IResolutionSubject subject) { UpdatePosition(); }