修复一些内容
This commit is contained in:
@@ -2,15 +2,11 @@ using Convention;
|
||||
using Convention.RScript;
|
||||
using Convention.WindowsUI.Variant;
|
||||
using Demo.Game;
|
||||
using Flee.PublicTypes;
|
||||
using Sirenix.OdinInspector;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text.RegularExpressions;
|
||||
using Unity.Profiling;
|
||||
using UnityEngine;
|
||||
@@ -458,13 +454,20 @@ namespace Demo
|
||||
/// <para>使用<see cref="Convention.RScript.Variable.Attr.MethodAttribute"/>标记可编辑脚本所能够调用的函数</para>
|
||||
/// <para>使用<see cref="Convention.RScript.Variable.Attr.DefaultAttribute"/>标记派生类,并附加默认模板</para>
|
||||
/// </summary>
|
||||
public partial class ScriptableObject : SerializedMonoBehaviour, IHierarchyItemClickEventListener
|
||||
public partial class ScriptableObject :
|
||||
#if ENABLE_SerializedMonoBehaviour_CLASS
|
||||
SerializedMonoBehaviour,
|
||||
#else
|
||||
MonoBehaviour,
|
||||
#endif
|
||||
IHierarchyItemClickEventListener
|
||||
{
|
||||
protected virtual IEnumerator DoSomethingDuringApplyScript()
|
||||
{
|
||||
yield break;
|
||||
}
|
||||
|
||||
[Convention.RScript.Variable.Attr.Method]
|
||||
public IEnumerator ApplyScript()
|
||||
{
|
||||
if (EnsureEnableScript() == false)
|
||||
@@ -530,7 +533,7 @@ namespace Demo
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
public interface IAssetBundleLoader : IScriptableObject
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user