Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

CinemachinePixelPerfect.cs 770B

1234567891011121314151617
  1. namespace UnityEngine.U2D
  2. {
  3. /// <summary>
  4. /// (Deprecated) An add-on module for Cinemachine Virtual Camera that tweaks the orthographic size
  5. /// of the virtual camera. It detects the presence of the Pixel Perfect Camera component and use the
  6. /// settings from that Pixel Perfect Camera to correct the orthographic size so that pixel art
  7. /// sprites would appear pixel perfect when the virtual camera becomes live.
  8. /// </summary>
  9. [AddComponentMenu("")] // Hide in menu
  10. public class CinemachinePixelPerfect : MonoBehaviour
  11. {
  12. void OnEnable()
  13. {
  14. Debug.LogError("CinemachinePixelPerfect is now deprecated and doesn't function properly. Instead, use the one from Cinemachine v2.4.0 or newer.");
  15. }
  16. }
  17. }