terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ TouchCameraIsValid()

bool InControl.TouchManager.TouchCameraIsValid ( )
inlineprivate

Definition at line 232 of file TouchManager.cs.

233 {
234 Camera camera = this.touchCamera;
235 if (!true)
236 {
237 }
238 float orthographicSize = this.touchCamera.orthographicSize;
239 if (!true)
240 {
241 }
242 bool flag = Utility.IsZero(orthographicSize);
243 float width = this.touchCamera.rect.width;
244 if (!true)
245 {
246 }
247 bool flag2 = Utility.IsZero(width);
248 float height = this.touchCamera.rect.height;
249 if (!true)
250 {
251 }
252 bool flag3 = Utility.IsZero(height);
253 float width2 = this.touchCamera.pixelRect.width;
254 if (!true)
255 {
256 }
257 bool flag4 = Utility.IsZero(width2);
258 float height2 = this.touchCamera.pixelRect.height;
259 if (!true)
260 {
261 }
262 bool flag5 = Utility.IsZero(height2);
263 return true;
264 }
class f__AnonymousType0<< Count > j__TPar
float orthographicSize
Definition Camera.cs:61
float height
Definition Rect.cs:175
float width
Definition Rect.cs:143

References UnityEngine.Rect.height, InControl.Utility.IsZero(), j__TPar, UnityEngine.Camera.orthographicSize, UnityEngine.Camera.pixelRect, UnityEngine.Camera.rect, InControl.TouchManager.touchCamera, and UnityEngine.Rect.width.

Referenced by InControl.TouchManager.ConvertScreenToViewPoint(), InControl.TouchManager.ConvertScreenToWorldPoint(), and InControl.TouchManager.ConvertViewToWorldPoint().