35 lines
647 B
C#
35 lines
647 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class GameManager : MonoBehaviour
|
|
{
|
|
public static GameManager Instance;
|
|
/// <summary>
|
|
/// 位移相机
|
|
/// </summary>
|
|
public Transform MoveCamera;
|
|
/// <summary>
|
|
/// 复制的物体
|
|
/// </summary>
|
|
public GameObject CopyObj;
|
|
/// <summary>
|
|
/// 相机位移旋转点位
|
|
/// </summary>
|
|
public List<Transform> MoveAndRotatePonit;
|
|
|
|
public void Awake()
|
|
{
|
|
Instance = this;
|
|
Init();
|
|
}
|
|
|
|
/// <summary>
|
|
/// 初始化
|
|
/// </summary>
|
|
public void Init()
|
|
{
|
|
CopyObj.SetActive(true);
|
|
}
|
|
}
|