示例#1
0
    public void WaitForConfirm()
    {
        if (_range != null)
        {
            _prediction.DrawShootInput(_range);
            var charInfo = _char.GetEcsComponent <CharacterActionComponent>();
            _show(Mathf.Min(charInfo.Energy, MinDuration), charInfo.Energy);
        }
        else
        {
            _hide();
        }

        Game.I.MapController.OutlinePool.ReturnAll();
    }
 private void DrawExplosionRange(Point target)
 {
     _prediction.DrawShootInput(_grenade.GetExplosionRadius(target));
 }