命名空间迁移
This commit is contained in:
@@ -59,7 +59,7 @@ namespace Demo.Editor
|
||||
{
|
||||
foreach (var type in asm.GetTypes())
|
||||
{
|
||||
if (typeof(ScriptableObject).IsAssignableFrom(type) && type.IsAbstract == false)
|
||||
if (typeof(Demo.Game.ScriptableObject).IsAssignableFrom(type) && type.IsAbstract == false)
|
||||
{
|
||||
result.Add(type.Name, type);
|
||||
}
|
||||
@@ -391,7 +391,7 @@ namespace Demo.Editor
|
||||
{
|
||||
new Convention.RScript.Variable.CStyle.CScriptRScriptVariableGenerater(type, () => generater(), null, filename).Register();
|
||||
}
|
||||
else if (typeof(ScriptableObject).IsAssignableFrom(type))
|
||||
else if (typeof(Demo.Game.ScriptableObject).IsAssignableFrom(type))
|
||||
{
|
||||
new Convention.RScript.Variable.CStyle.CScriptRScriptVariableGenerater(type, null, null, filename).Register();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user