You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like this method, which is used in a few places, is deprecated.
Assets\Scripts\ChekpointArea.cs(17,19): warning CS0618: 'Object.FindObjectOfType<T>()' is obsolete: 'Object.FindObjectOfType has been deprecated. Use Object.FindFirstObjectByType instead or if finding any instance is acceptable the faster Object.FindAnyObjectByType'
I have gone through and replaced Object.FindObjectOfType<T>() with Object.FindFirstObjectByType<T>(). I will see if that also works.
The text was updated successfully, but these errors were encountered:
It looks like this method, which is used in a few places, is deprecated.
I have gone through and replaced
Object.FindObjectOfType<T>()
withObject.FindFirstObjectByType<T>()
. I will see if that also works.The text was updated successfully, but these errors were encountered: