- using System.Collections;
- using System.Collections.Generic;
- using System.IO;
- using System.Threading.Tasks;
- using UnityEngine;
- public class InstantiateByAddComponent : MonoBehaviour
- {
- void Start()
- {
- // Debug.Log($"[InstantiateByAddComponent] 这个脚本通过AddComponent的方式实例化.");
- }
- }
|