コード例 #1
0
 protected override string GetTitle()
 {
     if (body2Shoot == null || situationForShoot == ExperimentSituations.SrfSplashed)
     {
         return("mmm... there're a bug, blame merill!");
     }
     else
     {
         return(string.Format(MerillData.str_camera_title_param,
                              body2Shoot.name,
                              MerillData.situation2String(situationForShoot))
                + (useKerbal ? MerillData.str_camera_title_param_withkerbal : ""));
         //"Take footage of "+body2Shoot.name+" at "+situationForShoot+" "+(useKerbal?" with a kerbal.":"");
     }
 }
コード例 #2
0
 protected override string GetTitle()
 {
     return(String.Format(MerillData.str_camera_title, this.body2Shoot.name)
            + (useKerbal ? String.Format(MerillData.str_camera_title_withkerbal, MerillData.situation2String(this.situationForShoot)) : "") + ".");
     //return "Take footage of "+this.body2Shoot.name+" at "+this.situationForShoot+(useKerbal?" with a kerbal":"");
 }