private static void DestroyContainer()
 {
     if (Container == null)
     {
         return;
     }
     Object.Destroy(Container.gameObject);
     Container = null;
 }
 public override void OnCreated(ILoading loading)
 {
     base.OnCreated(loading);
     if (loading.currentMode != AppMode.AssetEditor)
     {
         return;
     }
     if (Container == null)
     {
         Container = new GameObject("SubBuildingsEditor").AddComponent <PropInitializer>();
     }
 }