예제 #1
0
 public float CurrentInstantBeauty()
 {
     if (!pawn.SpawnedOrAnyParentSpawned)
     {
         return(0.5f);
     }
     return(BeautyUtility.AverageBeautyPerceptible(pawn.PositionHeld, pawn.MapHeld));
 }
예제 #2
0
        public float CurrentInstantBeauty()
        {
            float result;

            if (!this.pawn.SpawnedOrAnyParentSpawned)
            {
                result = 0.5f;
            }
            else
            {
                result = BeautyUtility.AverageBeautyPerceptible(this.pawn.PositionHeld, this.pawn.MapHeld);
            }
            return(result);
        }