修复了 Part 在部分放置失败的情况直接回到原位的问题
This commit is contained in:
@@ -385,7 +385,7 @@ namespace CustomComponent
|
||||
/// </summary>
|
||||
private void RejectPlace(CombineDraggablePart part, string hint)
|
||||
{
|
||||
part.ReturnToSpawn();
|
||||
part.ReturnToSpawnAnimated();
|
||||
|
||||
if (!string.IsNullOrEmpty(hint))
|
||||
{
|
||||
|
||||
@@ -340,7 +340,7 @@ namespace UI
|
||||
.SetUpdate(true);
|
||||
}
|
||||
|
||||
private void ReturnToSpawnAnimated()
|
||||
public void ReturnToSpawnAnimated()
|
||||
{
|
||||
if (_spawnParent == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user