using System.Collections; using System.Collections.Generic; using UnityEngine; using PuzzleDefine; public static class PuzzleUtils { public static T CreateObject(GameObject prefab) { return MonoBehaviour.Instantiate(prefab).GetComponent(); } }