Exemple #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));
     }
 }
Exemple #2
0
 public void UpdateObserver(IResolutionSubject subject)
 {
     UpdatePosition();
 }