From 82f2c7c76aff36bc7592296b6f421f031d3bbbfd Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 14 五月 2019 17:44:25 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/ItemDrop/DropItem.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/System/ItemDrop/DropItem.cs b/System/ItemDrop/DropItem.cs
index fced4be..49ec9ba 100644
--- a/System/ItemDrop/DropItem.cs
+++ b/System/ItemDrop/DropItem.cs
@@ -20,13 +20,13 @@
return dropItem;
}
- public static DropItem DropFake(int _id, Vector3 _position, Camera _camera)
+ public static DropItem DropFake(int _id, Vector3 _position, Camera _camera, float time = 2f)
{
var dropItemType = ItemToDropType(_id);
var dropItem = DropItemPool.RequireDropItem(dropItemType);
dropItem.transform.SetParentEx(HUDCenter.hudRoot.dropItemCanvas.transform, Vector3.zero, Quaternion.identity, Vector3.one);
- dropItem.DropAt(_id, _position, 2f, _camera);
+ dropItem.DropAt(_id, _position, time, _camera);
return dropItem;
}
--
Gitblit v1.8.0