18 lines
398 B
C#
18 lines
398 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace ZC
|
|
{
|
|
public static class GameObjectFactory
|
|
{
|
|
// public static T Create<T>(GameObject go = null) where T : GameObjectBase
|
|
// {
|
|
// var t = new T();
|
|
// var id = t.GetHashCode();
|
|
//
|
|
// t.OnInit();
|
|
// ZCGame.ObjectManager.Add(t);
|
|
// return t;
|
|
// }
|
|
}
|
|
} |