可能存在的bug

This commit is contained in:
fatiao 2025-03-24 18:36:03 +08:00
parent 339a2f6d56
commit 2d4cd9e007

View File

@ -993,7 +993,7 @@ public class FighterGoCtrl : MonoBehaviour
Transform Foot
{
get {
if (mFoot == null)
if (mFoot == null && mAvatarObject != null)
{
mFoot = mAvatarObject.transform.Find("foot_point");
if (mFoot != null)