コード例 #1
0
        public void SetupDebugDocument(DebugMenuDocument document, out string title)
        {
            title = "Command daemon";

            var servants  = new DaemonOverseerSection <CommandDaemon, CommandServant>();
            var receivers = new LiveReceiverSection("Live receivers");

            document.AddSections(servants);
            document.AddSections(receivers);
        }
コード例 #2
0
        internal static void Unregister(DebugMenuDocument menuDocument)
        {
            var instance = Instance;

            if (instance == null)
            {
                return;
            }

            instance.documents.Remove(menuDocument);
        }
コード例 #3
0
        public void SetupDebugDocument(DebugMenuDocument document, out string title)
        {
            title = "Content Registry";

            var servants = new DaemonOverseerSection <ContentRegistryDaemon, ContentRegistryServant>();
            var machine  = new DelegateTriggerMachineSection <ContentRegistryDaemon, InternalMachine, Trigger, EnumComparer>();
            var content  = new ContentRegistrySection();

            document.AddSections(servants);
            document.AddSections(machine);
            document.AddSections(content);
        }
コード例 #4
0
        public override void SetupDebugDocument(DebugMenuDocument document)
        {
            var section = new LocalRegistrySection(this, "Local Servant");

            document.AddSections(section);
        }
コード例 #5
0
 public virtual void SetupDebugDocument(DebugMenuDocument document)
 {
 }
コード例 #6
0
        public override void SetupDebugDocument(DebugMenuDocument document)
        {
            var section = new AddressableRegistrySection(this, "Addressable Servant");

            document.AddSections(section);
        }