示例#1
0
        public void Crash()
        {
            crashed = true;
            Drone.Crash();

            var touchListener = new CCEventListenerTouchAllAtOnce();

            touchListener.OnTouchesEnded = AllowRestart;
            AddEventListener(touchListener, this);
        }