浏览代码

Using Editor.XYZ breaks the default template

The default URP template/starter project has a class (ReadmeEditor.cs)
which inherits from the type "Editor." If we use Editor.XYZ as the
namespace, that class errors out stating it isn't sure if "Editor"
is a type or a namespace (probably since Editor is now a valid namespace)
/0.9.0.preview.1_staging
Aryan Mann 3 年前
当前提交
b876bc57
共有 4 个文件被更改,包括 4 次插入6 次删除
  1. 2
      com.unity.perception/Editor/Randomization/PropertyDrawers/AssetSourceDrawer.cs
  2. 4
      com.unity.perception/Editor/Randomization/VisualElements/AssetSource/AssetListElement.cs
  3. 2
      com.unity.perception/Editor/Randomization/VisualElements/AssetSource/AssetListItemElement.cs
  4. 2
      com.unity.perception/Editor/Randomization/VisualElements/AssetSource/AssetSourceElement.cs

2
com.unity.perception/Editor/Randomization/PropertyDrawers/AssetSourceDrawer.cs


using Editor.Randomization.VisualElements.AssetSource;
using UnityEditor.Perception.Randomization.VisualElements.AssetSource;
using UnityEngine;
using UnityEngine.Perception.Randomization;
using UnityEngine.UIElements;

4
com.unity.perception/Editor/Randomization/VisualElements/AssetSource/AssetListElement.cs


using System;
using System.Collections;
using UnityEditor;
using UnityEditor.Perception.Randomization;
namespace Editor.Randomization.VisualElements.AssetSource
namespace UnityEditor.Perception.Randomization.VisualElements.AssetSource
{
class AssetListElement : VisualElement
{

2
com.unity.perception/Editor/Randomization/VisualElements/AssetSource/AssetListItemElement.cs


using UnityEditor.UIElements;
using UnityEngine.UIElements;
namespace Editor.Randomization.VisualElements.AssetSource
namespace UnityEditor.Perception.Randomization.VisualElements.AssetSource
{
class AssetListItemElement : VisualElement
{

2
com.unity.perception/Editor/Randomization/VisualElements/AssetSource/AssetSourceElement.cs


using UnityEngine.Perception.Randomization;
using UnityEngine.UIElements;
namespace Editor.Randomization.VisualElements.AssetSource
namespace UnityEditor.Perception.Randomization.VisualElements.AssetSource
{
class AssetSourceElement : VisualElement
{

正在加载...
取消
保存