提交修改
This commit is contained in:
@@ -37,7 +37,7 @@ public class Rope : MonoBehaviour
|
||||
|
||||
public void LineLength_OnValueChanged(float length)
|
||||
{
|
||||
cursor = ((cursor == null) ? GetComponent<ObiRopeCursor>() : cursor);
|
||||
cursor = cursor == null ? GetComponent<ObiRopeCursor>() : cursor;
|
||||
stretchScale = Mathf.Clamp(length - percentageElasticity, 0f, float.PositiveInfinity);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user