实例化预设体
举例见缝插针中实例化针
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour
{
//预设物发射点
private Transform startPoint;
//预设物出生点
private Transform spawnPoint;
//定义一个PIN类型的变量
private Pin cPin;
//游戏结束判定
private bool is