unity中想要反射效果怎么实现

2025-05-05 05:59:45
推荐回答(1个)
回答1:


using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour {
    private GameObject target;
    void Start() {
        target = GameObject.FindWithTag("Player");
    }
}