浏览代码

removed unused ctor

/4.1
Shan Jiang 4 年前
当前提交
4d1337ea
共有 1 个文件被更改,包括 1 次插入7 次删除
  1. 8
      Assets/Scenes/ImageTracking/Multi Prefab - Image Tracking/MultiTrackedImageInfoManager.cs

8
Assets/Scenes/ImageTracking/Multi Prefab - Image Tracking/MultiTrackedImageInfoManager.cs


[RequireComponent(typeof(ARTrackedImageManager))]
public class MultiTrackedImageInfoManager : MonoBehaviour, ISerializationCallbackReceiver
{
[Serializable]
[Serializable]
struct NamedPrefab
{
// System.Guid isn't serializable, so we store the Guid as a string. At runtime, this is converted back to a System.Guid

[SerializeField]
public GameObject m_Prefab;
public NamedPrefab(XRReferenceImage image, GameObject prefab)
{
m_ImageGuid = image.guid.ToString();
m_Prefab = prefab;
}
public NamedPrefab(Guid guid, GameObject prefab)
{

正在加载...
取消
保存