public void SetFrameRate(QUALITY quality) { switch (quality) { case QUALITY.QUALITY_LOW: { QualitySettings.vSyncCount = 0; Application.targetFrameRate = 15; } break; case QUALITY.QUALITY_MID: { QualitySettings.vSyncCount = 1; Application.targetFrameRate = 30; } break; case QUALITY.QUALITY_HIGH: { QualitySettings.vSyncCount = 1; Application.targetFrameRate = -1; } break; } }
public void SetQuality(QUALITY quality) { _quality = quality; switch (quality) { case QUALITY.QUALITY_LOW: { QualitySettings.anisotropicFiltering = AnisotropicFiltering.Disable; QualitySettings.pixelLightCount = 2; QualitySettings.masterTextureLimit = 1; //동그란 그림자 활성화 } break; case QUALITY.QUALITY_MID: { QualitySettings.anisotropicFiltering = AnisotropicFiltering.Enable; QualitySettings.pixelLightCount = 2; QualitySettings.masterTextureLimit = 1; //실시간 그림자 켜기 } break; case QUALITY.QUALITY_HIGH: { QualitySettings.anisotropicFiltering = AnisotropicFiltering.ForceEnable; QualitySettings.pixelLightCount = 2; QualitySettings.masterTextureLimit = 0; //실시간 그림자 켜기//내 캐릭터만 주변광 켜기 } break; } }
public void order(int quantity, CREDIT credit, QUALITY quality, DELIVERY deliveryTime) { throw new System.NotImplementedException(); }
public static extern HFONT CreateFont(int nHeight, int nWidth, int nEscapement, int nOrientation, int fnWeight, bool fdwItalic, bool fdwUnderline, bool fdwStrikeOut, Charset fdwCharSet, OUT_PRECIS fdwOutputPrecision, CLIP_PRECIS fdwClipPrecision, QUALITY fdwQuality, PitchAndFamily fdwPitchAndFamily, string lpszFace);
public Tool() { this.kind = TOOL_TYPE.HANDS; this.quality = QUALITY.LOW; }
public static extern IntPtr CreateFont(int nHeight, int nWidth, int nEscapement, int nOrientation, FW fnWeight, [MarshalAs(UnmanagedType.Bool)] bool fdwItalic, [MarshalAs(UnmanagedType.Bool)] bool fdwUnderline, [MarshalAs(UnmanagedType.Bool)] bool fdwStrikeOut, CHARSET fdwCharSet, OUTPRECIS fdwOutputPrecision, CLIP fdwClipPrecision, QUALITY fdwQuality, PITCH_FF fdwPitchAndFamily, string lpszFace);