コード例 #1
0
        public void Update()
        {
            if (_RingBall != null)
            {
                _RingBall._HP = _HP;

                if (_ShrinkRingTrigger)
                {
                    _RingBall.ShringWholeRing();
                    _ShrinkRingTrigger = false;
                }
            }
        }
コード例 #2
0
        public void Update()
        {
            if (_blackDot == null)
            {
                return;
            }

            /*
             * _blackDot._HPMax = _HPMax;
             * _blackDot._HP = _HP;
             */

            if (_GrowTrigger)
            {
                _blackDot.Grow();
                _GrowTrigger = false;
            }
            if (_ShrinkTrigger)
            {
                _blackDot.Shrink();
                _ShrinkTrigger = false;
            }
            if (_BreakTrigger)
            {
                _blackDot.Break();
                _BreakTrigger = false;
            }
            if (_RecoverTrigger)
            {
                if (_RecoverFull)
                {
                    _blackDot.RecoverMax();
                }
                else
                {
                    _blackDot.Recover();
                }
                _RecoverTrigger = false;
            }
            if (_ShrinkRingTrigger)
            {
                MiroV1RingBallBase rb = (MiroV1RingBallBase)_blackDot;
                if (rb != null)
                {
                    rb.ShringWholeRing();
                }
                _ShrinkRingTrigger = false;
            }
        }