29 lines
505 B
C#
29 lines
505 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class GameManager : MonoBehaviour
|
|
{
|
|
public static GameManager ins;
|
|
public CameraManager CameraManager;
|
|
List<GameObject> tools;
|
|
public void Awake()
|
|
{
|
|
if (ins!=null)
|
|
{
|
|
Destroy(ins);
|
|
return;
|
|
}
|
|
ins = this;
|
|
}
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
public void ToolsShow()
|
|
{
|
|
|
|
}
|
|
}
|