示例#1
0
 private void Event_MouseLeftOnceDown()
 {
     if (Card.Player.MainPlaceInfo.MainPlace.ElementsGoWithMouse.Count != 0)
     {
         if (Card.Player.MainPlaceInfo.MainPlace.ElementsGoWithMouse[0] == this)
         {
             EasyAudio_1.Reset();
             EasyAudio_1.Start();
         }
     }
 }
示例#2
0
        private void Event_MouseLeftUp()
        {
            var temp = Card.Player.MainPlaceInfo.MainPlace;

            if (temp.ElementsGoWithMouse.Count != 0)
            {
                //if (temp.ElementsGoWithMouse[0].LastLayer != null)
                //{
                //    temp.LayerController.MoveToLayerTop(
                //        temp.ElementsGoWithMouse[0],
                //        temp.ElementsGoWithMouse[0].LastLayer.LayerName);
                //}
                temp.ElementsGoWithMouse.Clear();
                temp.last = null;
            }

            EasyAudio_1.Reset();
            EasyAudio_1.Start();
            EasyAnimation.AnimationStart(0);
            // Transform.SetTransform(SetTrans);
        }