Exemplo n.º 1
0
 /**
  * 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));
     }
 }
Exemplo n.º 2
0
 public void UpdateObserver(IResolutionSubject subject)
 {
     UpdatePosition();
 }