Exemplo n.º 1
0
 public void OnEnable()
 {
     hideFlags = HideFlags.HideAndDontSave;
     AssetPreview.SetPreviewTextureCacheSize(64);
     if (_waves == null)
     {
         _waves = new List <EditorWave>();
     }
     if (_layout == null)
     {
         _layout = new LevelLayout(this);
     }
     if (_data_info == null)
     {
         _data_info = XTableMgr.GetTable <XEntityStatistics>();
     }
     _currentEdit  = -1;
     _markGOHeight = 2.0f;
 }
Exemplo n.º 2
0
 public static XEntityStatistics.RowData GetByID(this XEntityStatistics input, int id)
 {
     return(input.GetByUID(id));
 }