InstantiateByAddComponent.cs 319 B

1234567891011121314
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Threading.Tasks;
  5. using UnityEngine;
  6. public class InstantiateByAddComponent : MonoBehaviour
  7. {
  8. void Start()
  9. {
  10. // Debug.Log($"[InstantiateByAddComponent] 这个脚本通过AddComponent的方式实例化.");
  11. }
  12. }