예제 #1
0
 // Sets the objects new position and then called up UpdateAllTransforms for this and all child objects,
 public void SetPosition(float x, float y)
 {
     localTransform.SetTranslation(x, y);
     UpdateAllTransforms();
 }