public override IEnumerable <Gizmo> GetGizmos()
        {
            foreach (var gizmo in base.GetGizmos())
            {
                yield return(gizmo);
            }

            if (this is Building_PAL_Core)
            {
                yield break;
            }

            if (Pal == null)
            {
                var gizmo = Building_PAL_Core.GetCommandNotConnected(232626335);
                yield return(gizmo);
            }
            else
            {
                foreach (var gizmo in Pal.GetGizmosPAL())
                {
                    yield return(gizmo);
                }
            }
        }
Example #2
0
 public PAL_TalkTracker(Building_PAL_Core core) : base(null)
 {
     PAL = core;
 }