Наследование: tp_ComponentBaseEditor
Пример #1
0
 private void Initialize()
 {
     if (m_projector == null) { m_projector = new tp_Projector(); }
     if (m_heightmapEditor == null) { m_heightmapEditor = new tp_HeightmapEditor(); }
     if (m_splatmapEditor == null) { m_splatmapEditor = new tp_SplatmapEditor(); }
     if (m_foliageEditor == null) { m_foliageEditor = new tp_FoliageEditor(); }
     if (m_settings == null) { m_settings = new tp_SettingsEditor(); }
     component.Initialize();
 }
Пример #2
0
 private void Initialize()
 {
     if (m_projector == null)
     {
         m_projector = new tp_Projector();
     }
     if (m_heightmapEditor == null)
     {
         m_heightmapEditor = new tp_HeightmapEditor();
     }
     if (m_splatmapEditor == null)
     {
         m_splatmapEditor = new tp_SplatmapEditor();
     }
     if (m_foliageEditor == null)
     {
         m_foliageEditor = new tp_FoliageEditor();
     }
     if (m_settings == null)
     {
         m_settings = new tp_SettingsEditor();
     }
     component.Initialize();
 }