using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(BaseGameObjInfo))]
public class StaticeObjAddToEntities : MonoBehaviour
{
///
/// 预先需要存入实体管理器的物体,需要先生成一份ID
///
void Start()
{
if (GetComponent().gameObjID != 0)
EntitiesManager.Instance.AddEntity(GetComponent().gameObjID, gameObject);
}
}