23 lines
422 B
C#
Executable File
23 lines
422 B
C#
Executable File
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Text;
|
|
|
|
namespace ET
|
|
{
|
|
|
|
public class NoticeAwakeSystem : AwakeSystem<Notice>
|
|
{
|
|
public override void Awake(Notice self)
|
|
{
|
|
string path = $"../Config/Notice.txt";
|
|
self.notice = File.ReadAllText(path);
|
|
}
|
|
}
|
|
|
|
public class Notice:Entity
|
|
{
|
|
public string notice;
|
|
}
|
|
}
|