修改线渲染逻辑
This commit is contained in:
@@ -101,10 +101,10 @@ namespace NBF
|
||||
var handItemView = Player.HandItem.GetComponent<PlayerItemView>();
|
||||
if (handItemView != null && handItemView.Rod != null)
|
||||
{
|
||||
// if (handItemView.Rod.Line.PinchController != null)
|
||||
// {
|
||||
// handItemView.Rod.Line.PinchController.StartPinch(view.Unity.ModelAsset.Pinch);
|
||||
// }
|
||||
if (handItemView.Rod.Line.PinchController != null)
|
||||
{
|
||||
handItemView.Rod.Line.PinchController.StartPinch(view.Unity.ModelAsset.Pinch);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -118,10 +118,10 @@ namespace NBF
|
||||
var handItemView = Player.HandItem.GetComponent<PlayerItemView>();
|
||||
if (handItemView != null && handItemView.Rod != null)
|
||||
{
|
||||
// if (handItemView.Rod.Line.PinchController != null)
|
||||
// {
|
||||
// handItemView.Rod.Line.PinchController.ReleasePinch();
|
||||
// }
|
||||
if (handItemView.Rod.Line.PinchController != null)
|
||||
{
|
||||
handItemView.Rod.Line.PinchController.ReleasePinch();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user