Commit 6c474e72 authored by wanqing's avatar wanqing

修改代码

parent 431a61e0
......@@ -186,11 +186,11 @@ public class StorageView : MonoBehaviour
//{
// varBody.isKinematic = true;
//}
Rigidbody varBody = other.gameObject.GetComponent<Rigidbody>();
if (varBody)
{
varBody.velocity = Vector3.zero;
}
//Rigidbody varBody = other.gameObject.GetComponent<Rigidbody>();
//if (varBody)
//{
// varBody.velocity = Vector3.zero;
//}
m_insideBoxNum++;
BattleCtrl.instance.battleUI.SetTakeBtnState(m_insideBoxNum >= m_TotalNum);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment