修复了 Part 在部分放置失败的情况直接回到原位的问题
This commit is contained in:
parent
6b8982f0cd
commit
67e6b33677
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue