示例#1
0
 private void MakePermaCache()
 {
     glowStrings = new string[101];
     for (int i = 0; i <= 100; i++)
     {
         glowStrings[i] = GlowGrid.PsychGlowAtGlow((float)i / 100f).GetLabel() + " (" + ((float)i / 100f).ToStringPercent() + ")";
     }
 }
示例#2
0
        public PsychGlow PsychGlowAt(IntVec3 c)
        {
            float glow = this.GameGlowAt(c, false);

            return(GlowGrid.PsychGlowAtGlow(glow));
        }