網(wǎng)站怎么做uc整合百度競價排名的使用方法
C#開發(fā)的OpenRA游戲之世界存在的屬性UpdatesPlayerStatistics(2)
在文件OpenRA\mods\cnc\rules\ defaults.yaml里,可以看到這個配置,它的作用就是讓這個單元可以被觀察者查看到相關(guān)的信息。
UpdatesPlayerStatistics屬性同樣也是有兩個類組成,一個叫做信息類UpdatesPlayerStatisticsInfo,另一個叫做操作類UpdatesPlayerStatistics。
UpdatesPlayerStatisticsInfo類定義如下:
[Desc("Attach this to a unit to update observer stats.")]
public class UpdatesPlayerStatisticsInfo : TraitInfo
{