public override bool Init(int id)
 {
     if (!base.Init(id))
     {
         return(false);
     }
     if (CSMain.GetCreator(CSConst.ciDefNoMgCamp) == null)
     {
         CSMain.InitOperatItemEvent += PostInit;
         return(true);
     }
     else
     {
         CSPowerPlantObject ppo = GetComponent <CSPowerPlantObject>();
         return(CSConst.rrtSucceed == ppo.Init(id, CSMain.GetCreator(CSConst.ciDefNoMgCamp), false));
     }
 }
    public void PostInit()
    {
        CSPowerPlantObject ppo = GetComponent <CSPowerPlantObject>();

        ppo.Init(m_id, CSMain.GetCreator(CSConst.ciDefNoMgCamp), false);
    }