从旧版中移植,Prefab未确认
This commit is contained in:
23
Convention/[Visual]/Workflow/GraphInspector.cs
Normal file
23
Convention/[Visual]/Workflow/GraphInspector.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Convention.WindowsUI;
|
||||
using Convention.WindowsUI.Variant;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
namespace Convention.Workflow
|
||||
{
|
||||
public class GraphInspector : MonoSingleton<GraphInspector>, ITitle, IText
|
||||
{
|
||||
[Resources, SerializeField, OnlyNotNullMode] private Text Title;
|
||||
|
||||
public string title { get => ((ITitle)this.Title).title; set => ((ITitle)this.Title).title = value; }
|
||||
public string text { get => ((IText)this.Title).text; set => ((IText)this.Title).text = value; }
|
||||
|
||||
private void Start()
|
||||
{
|
||||
Architecture.RegisterWithDuplicateAllow(typeof(GraphInspector), this, () => { });
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user