Unity 吸附实现方案

Friday, Sep 2, 2022 | 1 minute read | Updated at Friday, Sep 2, 2022

目标

一个正在移动的A组件,需要将B组件吸附在A组件上,随之移动

方案

将B设为A的子物体