示例#1
0
 /// <summary>
 /// Initializiation
 /// </summary>
 private void Start()
 {
     if (Instance != null)
     {
         CustomLogger.Instance.Error(LogMessages.MULTIPLE_INSTANCES);
         return;
     }
     Instance            = this;
     exports_scroll_view = new RowScrollView <Resource.ResourceType>("exports_scroll_view", Exports_Content, Exports_Row_Prototype, 20.0f);
     imports_scroll_view = new RowScrollView <Resource.ResourceType>("imports_scroll_view", Imports_Content, Imports_Row_Prototype, 20.0f);
     default_text_color  = Count_Text.color;
     Active = false;
 }
 /// <summary>
 /// Initializiation
 /// </summary>
 private void Start()
 {
     if (Instance != null)
     {
         CustomLogger.Instance.Error(LogMessages.MULTIPLE_INSTANCES);
         return;
     }
     Instance            = this;
     scroll_view         = new RowScrollView <Resource.ResourceType>("resource_scroll_view", Scroll_Content, Scroll_Row_Prototype, 20.0f);
     waiting_for_target  = false;
     ignore_input_update = false;
     connected_ids       = new List <long>();
     Active = false;
 }