Example #1
0
 public override void LessonOnGUI()
 {
     if (!this.mineCells.NullOrEmpty <IntVec3>())
     {
         TutorUtility.DrawLabelOnGUI(Gen.AveragePosition(this.mineCells), this.def.onMapInstruction);
     }
     base.LessonOnGUI();
 }
 public static void DrawCellRectOnGUI(CellRect cellRect, string label = null)
 {
     if (label != null)
     {
         Vector3 centerVector = cellRect.CenterVector3;
         TutorUtility.DrawLabelOnGUI(centerVector, label);
     }
 }
Example #3
0
 public override void LessonOnGUI()
 {
     if (!mineCells.NullOrEmpty())
     {
         TutorUtility.DrawLabelOnGUI(Gen.AveragePosition(mineCells), def.onMapInstruction);
     }
     base.LessonOnGUI();
 }
 public override void LessonOnGUI()
 {
     TutorUtility.DrawLabelOnGUI(Gen.AveragePosition(this.GrowZone.cells), this.def.onMapInstruction);
     base.LessonOnGUI();
 }
 public override void LessonOnGUI()
 {
     TutorUtility.DrawLabelOnGUI(Gen.AveragePosition(sandbagCells), def.onMapInstruction);
     base.LessonOnGUI();
 }