同步
This commit is contained in:
@@ -60,6 +60,12 @@ namespace Ichni.RhythmGame
|
||||
|
||||
public void ClosePath()
|
||||
{
|
||||
if (pathNodeList.Count == 2)
|
||||
{
|
||||
path.type = Spline.Type.Linear;
|
||||
path.sampleRate = 1;
|
||||
}
|
||||
|
||||
if (isClosed)
|
||||
{
|
||||
path.Close();
|
||||
@@ -95,7 +101,7 @@ namespace Ichni.RhythmGame
|
||||
SetPathNode(pathNode);
|
||||
}
|
||||
ClosePath();
|
||||
path.RebuildImmediate(true, true);
|
||||
path.RebuildImmediate();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user