Browse Source

提示设置在下风向的问题修改

develop
曹衍涛 4 years ago
parent
commit
1bcb275c8e
  1. 4
      Assets/Scripts/DisasterSetting/FireAlongWindCheck.cs
  2. 4
      Assets/Scripts/Tool/OnDragAlongWindCheck.cs

4
Assets/Scripts/DisasterSetting/FireAlongWindCheck.cs

@ -61,6 +61,10 @@ public class FireAlongWindCheck : MonoBehaviour {
default:
break;
}
if (weatherMgr.TianQiSettingData.fengli==FengLi.)
{
data.value = 0;
}
return data;
}
}

4
Assets/Scripts/Tool/OnDragAlongWindCheck.cs

@ -9,6 +9,10 @@ public class OnDragAlongWindCheck : ObjDrag {
public override void ObjDragExitExecute(IMessage obj)
{
if (SelectedObjs.selectedObj!=gameObject)
{
return;
}
var data = (ObjDragCmdArgs)obj.Data;
prevPos = data.mousePosition;

Loading…
Cancel
Save