You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
910 B
20 lines
910 B
using UnityEngine.Scripting.APIUpdating; |
|
|
|
namespace UnityEngine.Rendering.Universal |
|
{ |
|
/// <summary> |
|
/// (Deprecated) An add-on module for Cinemachine Virtual Camera that tweaks the orthographic size |
|
/// of the virtual camera. It detects the presence of the Pixel Perfect Camera component and use the |
|
/// settings from that Pixel Perfect Camera to correct the orthographic size so that pixel art |
|
/// sprites would appear pixel perfect when the virtual camera becomes live. |
|
/// </summary> |
|
[AddComponentMenu("")] // Hide in menu |
|
[MovedFrom("UnityEngine.Experimental.Rendering.Universal")] |
|
public class CinemachineUniversalPixelPerfect : MonoBehaviour |
|
{ |
|
void OnEnable() |
|
{ |
|
Debug.LogError("CinemachineUniversalPixelPerfect is now deprecated and doesn't function properly. Instead, use the one from Cinemachine v2.4.0 or newer."); |
|
} |
|
} |
|
}
|
|
|