private void GoWithMouse()
 {
     if (ElementsGoWithMouse.Count != 0)
     {
         if (ElementsGoWithMouse[0] != last)
         {
             ElementsGoWithMouse[0].LastLayer = ElementsGoWithMouse[0].Layer;
             LayerController.MoveToLayerTop(ElementsGoWithMouse[0], "Select");
             last = ElementsGoWithMouse[0];
         }
     }
 }
Beispiel #2
0
 /// <summary>
 /// 场景
 /// </summary>
 /// <param name="name"></param>
 public Scene(string name) :
     base(name)
 {
     LayerController = new LayerController(this);
 }