我正在做一個應用程序,改變了幾個遊戲對象,代碼工作正常,除了cuadro.transform.GetChild(current).transform.position = new Vector3(0,0 ,0)將我的對象在Z軸上移動300個單位(父GO的相同位置) 爲什麼會發生這種情況? public class ChangePaintScript : MonoBehaviour
{
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class SwitchAnimations : MonoBehaviour
{
private Animator animator;
private int