terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
CanvasScaler.cs
Go to the documentation of this file.
1using System;
5
6namespace UnityEngine.UI
7{
9 [AddComponentMenu("Layout/Canvas Scaler", 101)]
12 [global::Cpp2ILInjected.Token(Token = "0x200003A")]
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x1700009B")]
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x6000253")]
19 [global::Cpp2ILInjected.Address(RVA = "0x1FC7504", Offset = "0x1FC7504", Length = "0x8")]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 get
22 {
23 throw null;
24 }
25 [global::Cpp2ILInjected.Token(Token = "0x6000254")]
26 [global::Cpp2ILInjected.Address(RVA = "0x1FC750C", Offset = "0x1FC750C", Length = "0x8")]
27 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
28 set
29 {
30 throw null;
31 }
32 }
33
34 [global::Cpp2ILInjected.Token(Token = "0x1700009C")]
36 {
37 [global::Cpp2ILInjected.Token(Token = "0x6000255")]
38 [global::Cpp2ILInjected.Address(RVA = "0x1FC7514", Offset = "0x1FC7514", Length = "0x8")]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
40 get
41 {
42 throw null;
43 }
44 [global::Cpp2ILInjected.Token(Token = "0x6000256")]
45 [global::Cpp2ILInjected.Address(RVA = "0x1FC751C", Offset = "0x1FC751C", Length = "0x8")]
46 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
47 set
48 {
49 throw null;
50 }
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x1700009D")]
54 public float scaleFactor
55 {
56 [global::Cpp2ILInjected.Token(Token = "0x6000257")]
57 [global::Cpp2ILInjected.Address(RVA = "0x1FC7524", Offset = "0x1FC7524", Length = "0x8")]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
59 get
60 {
61 throw null;
62 }
63 [global::Cpp2ILInjected.Token(Token = "0x6000258")]
64 [global::Cpp2ILInjected.Address(RVA = "0x1FC752C", Offset = "0x1FC752C", Length = "0x14")]
65 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
66 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
67 set
68 {
69 throw null;
70 }
71 }
72
73 [global::Cpp2ILInjected.Token(Token = "0x1700009E")]
75 {
76 [global::Cpp2ILInjected.Token(Token = "0x6000259")]
77 [global::Cpp2ILInjected.Address(RVA = "0x1FC7540", Offset = "0x1FC7540", Length = "0x8")]
78 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
79 get
80 {
81 throw null;
82 }
83 [global::Cpp2ILInjected.Token(Token = "0x600025A")]
84 [global::Cpp2ILInjected.Address(RVA = "0x1FC7548", Offset = "0x1FC7548", Length = "0x64")]
85 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
87 set
88 {
89 throw null;
90 }
91 }
92
93 [global::Cpp2ILInjected.Token(Token = "0x1700009F")]
95 {
96 [global::Cpp2ILInjected.Token(Token = "0x600025B")]
97 [global::Cpp2ILInjected.Address(RVA = "0x1FC75AC", Offset = "0x1FC75AC", Length = "0x8")]
98 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
99 get
100 {
101 throw null;
102 }
103 [global::Cpp2ILInjected.Token(Token = "0x600025C")]
104 [global::Cpp2ILInjected.Address(RVA = "0x1FC75B4", Offset = "0x1FC75B4", Length = "0x8")]
105 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
106 set
107 {
108 throw null;
109 }
110 }
111
112 [global::Cpp2ILInjected.Token(Token = "0x170000A0")]
114 {
115 [global::Cpp2ILInjected.Token(Token = "0x600025D")]
116 [global::Cpp2ILInjected.Address(RVA = "0x1FC75BC", Offset = "0x1FC75BC", Length = "0x8")]
117 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
118 get
119 {
120 throw null;
121 }
122 [global::Cpp2ILInjected.Token(Token = "0x600025E")]
123 [global::Cpp2ILInjected.Address(RVA = "0x1FC75C4", Offset = "0x1FC75C4", Length = "0x8")]
124 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
125 set
126 {
127 throw null;
128 }
129 }
130
131 [global::Cpp2ILInjected.Token(Token = "0x170000A1")]
133 {
134 [global::Cpp2ILInjected.Token(Token = "0x600025F")]
135 [global::Cpp2ILInjected.Address(RVA = "0x1FC75CC", Offset = "0x1FC75CC", Length = "0x8")]
136 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
137 get
138 {
139 throw null;
140 }
141 [global::Cpp2ILInjected.Token(Token = "0x6000260")]
142 [global::Cpp2ILInjected.Address(RVA = "0x1FC75D4", Offset = "0x1FC75D4", Length = "0x8")]
143 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
144 set
145 {
146 throw null;
147 }
148 }
149
150 [global::Cpp2ILInjected.Token(Token = "0x170000A2")]
151 public float fallbackScreenDPI
152 {
153 [global::Cpp2ILInjected.Token(Token = "0x6000261")]
154 [global::Cpp2ILInjected.Address(RVA = "0x1FC75DC", Offset = "0x1FC75DC", Length = "0x8")]
155 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
156 get
157 {
158 throw null;
159 }
160 [global::Cpp2ILInjected.Token(Token = "0x6000262")]
161 [global::Cpp2ILInjected.Address(RVA = "0x1FC75E4", Offset = "0x1FC75E4", Length = "0x8")]
162 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
163 set
164 {
165 throw null;
166 }
167 }
168
169 [global::Cpp2ILInjected.Token(Token = "0x170000A3")]
170 public float defaultSpriteDPI
171 {
172 [global::Cpp2ILInjected.Token(Token = "0x6000263")]
173 [global::Cpp2ILInjected.Address(RVA = "0x1FC75EC", Offset = "0x1FC75EC", Length = "0x8")]
174 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
175 get
176 {
177 throw null;
178 }
179 [global::Cpp2ILInjected.Token(Token = "0x6000264")]
180 [global::Cpp2ILInjected.Address(RVA = "0x1FC75F4", Offset = "0x1FC75F4", Length = "0x10")]
181 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
182 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
183 set
184 {
185 throw null;
186 }
187 }
188
189 [global::Cpp2ILInjected.Token(Token = "0x170000A4")]
191 {
192 [global::Cpp2ILInjected.Token(Token = "0x6000265")]
193 [global::Cpp2ILInjected.Address(RVA = "0x1FC7604", Offset = "0x1FC7604", Length = "0x8")]
194 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
195 get
196 {
197 throw null;
198 }
199 [global::Cpp2ILInjected.Token(Token = "0x6000266")]
200 [global::Cpp2ILInjected.Address(RVA = "0x1FC760C", Offset = "0x1FC760C", Length = "0x8")]
201 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
202 set
203 {
204 throw null;
205 }
206 }
207
208 [global::Cpp2ILInjected.Token(Token = "0x6000267")]
209 [global::Cpp2ILInjected.Address(RVA = "0x1FC7614", Offset = "0x1FC7614", Length = "0x48")]
210 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
211 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIBehaviour), Member = ".ctor", ReturnType = typeof(void))]
213 protected CanvasScaler()
214 {
215 throw null;
216 }
217
218 [global::Cpp2ILInjected.Token(Token = "0x6000268")]
219 [global::Cpp2ILInjected.Address(RVA = "0x1FC765C", Offset = "0x1FC765C", Length = "0xC4")]
220 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
221 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
222 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIBehaviour), Member = "OnEnable", ReturnType = typeof(void))]
223 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Component), Member = "GetComponent", MemberTypeParameters = new object[] { "T" }, ReturnType = "T")]
224 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas.WillRenderCanvases), Member = ".ctor", MemberParameters = new object[]
225 {
226 typeof(object),
227 typeof(IntPtr)
228 }, ReturnType = typeof(void))]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "add_preWillRenderCanvases", MemberParameters = new object[] { typeof(Canvas.WillRenderCanvases) }, ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
231 protected override void OnEnable()
232 {
233 throw null;
234 }
235
236 [global::Cpp2ILInjected.Token(Token = "0x6000269")]
237 [global::Cpp2ILInjected.Address(RVA = "0x1FC7720", Offset = "0x1FC7720", Length = "0x10")]
238 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
239 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
241 {
242 throw null;
243 }
244
245 [global::Cpp2ILInjected.Token(Token = "0x600026A")]
246 [global::Cpp2ILInjected.Address(RVA = "0x1FC7730", Offset = "0x1FC7730", Length = "0xDC")]
247 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
248 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
249 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "set_scaleFactor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
250 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "set_referencePixelsPerUnit", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
251 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas.WillRenderCanvases), Member = ".ctor", MemberParameters = new object[]
252 {
253 typeof(object),
255 }, ReturnType = typeof(void))]
256 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "remove_preWillRenderCanvases", MemberParameters = new object[] { typeof(Canvas.WillRenderCanvases) }, ReturnType = typeof(void))]
257 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIBehaviour), Member = "OnDisable", ReturnType = typeof(void))]
258 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
259 protected override void OnDisable()
260 {
261 throw null;
262 }
263
264 [global::Cpp2ILInjected.Token(Token = "0x600026B")]
265 [global::Cpp2ILInjected.Address(RVA = "0x1FC787C", Offset = "0x1FC787C", Length = "0xF0")]
266 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
267 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
268 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Object), Member = "op_Equality", MemberParameters = new object[]
269 {
270 typeof(Object),
272 }, ReturnType = typeof(bool))]
273 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "get_isRootCanvas", ReturnType = typeof(bool))]
274 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "get_renderMode", ReturnType = typeof(RenderMode))]
275 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
276 protected virtual void Handle()
277 {
278 throw null;
279 }
280
281 [global::Cpp2ILInjected.Token(Token = "0x600026C")]
282 [global::Cpp2ILInjected.Address(RVA = "0x1FC796C", Offset = "0x1FC796C", Length = "0x60")]
283 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
284 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
285 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "set_scaleFactor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
286 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "set_referencePixelsPerUnit", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
287 protected virtual void HandleWorldCanvas()
288 {
289 throw null;
290 }
291
292 [global::Cpp2ILInjected.Token(Token = "0x600026D")]
293 [global::Cpp2ILInjected.Address(RVA = "0x1FC79CC", Offset = "0x1FC79CC", Length = "0x60")]
294 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
295 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
296 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "set_scaleFactor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
297 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "set_referencePixelsPerUnit", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
298 protected virtual void HandleConstantPixelSize()
299 {
300 throw null;
301 }
302
303 [global::Cpp2ILInjected.Token(Token = "0x600026E")]
304 [global::Cpp2ILInjected.Address(RVA = "0x1FC7A2C", Offset = "0x1FC7A2C", Length = "0x244")]
305 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
306 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
307 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "get_renderingDisplaySize", ReturnType = typeof(Vector2))]
308 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "get_targetDisplay", ReturnType = typeof(int))]
309 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Display), Member = "get_renderingWidth", ReturnType = typeof(int))]
310 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Display), Member = "get_renderingHeight", ReturnType = typeof(int))]
311 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Log", MemberParameters = new object[]
312 {
313 typeof(double),
314 typeof(double)
315 }, ReturnType = typeof(double))]
316 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "set_scaleFactor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
317 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "set_referencePixelsPerUnit", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
318 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
319 protected virtual void HandleScaleWithScreenSize()
320 {
321 throw null;
322 }
323
324 [global::Cpp2ILInjected.Token(Token = "0x600026F")]
325 [global::Cpp2ILInjected.Address(RVA = "0x1FC7C70", Offset = "0x1FC7C70", Length = "0xA0")]
326 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
327 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
328 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Screen), Member = "get_dpi", ReturnType = typeof(float))]
329 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "set_scaleFactor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
330 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "set_referencePixelsPerUnit", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
331 protected virtual void HandleConstantPhysicalSize()
332 {
333 throw null;
334 }
335
336 [global::Cpp2ILInjected.Token(Token = "0x6000270")]
337 [global::Cpp2ILInjected.Address(RVA = "0x1FC780C", Offset = "0x1FC780C", Length = "0x38")]
338 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
339 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
340 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "set_scaleFactor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
341 protected void SetScaleFactor(float scaleFactor)
342 {
343 throw null;
344 }
345
346 [global::Cpp2ILInjected.Token(Token = "0x6000271")]
347 [global::Cpp2ILInjected.Address(RVA = "0x1FC7844", Offset = "0x1FC7844", Length = "0x38")]
348 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
349 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
350 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Canvas), Member = "set_referencePixelsPerUnit", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
352 {
353 throw null;
354 }
355
357 [Tooltip("Determines how UI elements in the Canvas are scaled.")]
358 [global::Cpp2ILInjected.Token(Token = "0x400012E")]
359 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
361
363 [Tooltip("If a sprite has this 'Pixels Per Unit' setting, then one pixel in the sprite will cover one unit in the UI.")]
364 [global::Cpp2ILInjected.Token(Token = "0x400012F")]
365 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
367
369 [Tooltip("Scales all UI elements in the Canvas by this factor.")]
370 [global::Cpp2ILInjected.Token(Token = "0x4000130")]
371 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
372 protected float m_ScaleFactor;
373
375 [Tooltip("The resolution the UI layout is designed for. If the screen resolution is larger, the UI will be scaled up, and if it's smaller, the UI will be scaled down. This is done in accordance with the Screen Match Mode.")]
376 [global::Cpp2ILInjected.Token(Token = "0x4000131")]
377 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
379
380 [Tooltip("A mode used to scale the canvas area if the aspect ratio of the current resolution doesn't fit the reference resolution.")]
382 [global::Cpp2ILInjected.Token(Token = "0x4000132")]
383 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
385
386 [Range(0f, 1f)]
388 [Tooltip("Determines if the scaling is using the width or height as reference, or a mix in between.")]
389 [global::Cpp2ILInjected.Token(Token = "0x4000133")]
390 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
391 protected float m_MatchWidthOrHeight;
392
393 [global::Cpp2ILInjected.Token(Token = "0x4000134")]
394 private const float kLogBase = 2f;
395
397 [Tooltip("The physical unit to specify positions and sizes in.")]
398 [global::Cpp2ILInjected.Token(Token = "0x4000135")]
399 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
401
403 [Tooltip("The DPI to assume if the screen DPI is not known.")]
404 [global::Cpp2ILInjected.Token(Token = "0x4000136")]
405 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
406 protected float m_FallbackScreenDPI;
407
408 [Tooltip("The pixels per inch to use for sprites that have a 'Pixels Per Unit' setting that matches the 'Reference Pixels Per Unit' setting.")]
410 [global::Cpp2ILInjected.Token(Token = "0x4000137")]
411 [global::Cpp2ILInjected.FieldOffset(Offset = "0x3C")]
412 protected float m_DefaultSpriteDPI;
413
415 [Tooltip("The amount of pixels per unit to use for dynamically created bitmaps in the UI, such as Text.")]
416 [global::Cpp2ILInjected.Token(Token = "0x4000138")]
417 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
418 protected float m_DynamicPixelsPerUnit;
419
420 [global::Cpp2ILInjected.Token(Token = "0x4000139")]
421 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
423
424 [global::Cpp2ILInjected.Token(Token = "0x400013A")]
425 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
427 private float m_PrevScaleFactor;
428
429 [global::Cpp2ILInjected.Token(Token = "0x400013B")]
430 [global::Cpp2ILInjected.FieldOffset(Offset = "0x54")]
433
435 [global::Cpp2ILInjected.Token(Token = "0x400013C")]
436 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
437 protected bool m_PresetInfoIsWorld;
438
439 [global::Cpp2ILInjected.Token(Token = "0x200003B")]
440 public enum ScaleMode
441 {
442 [global::Cpp2ILInjected.Token(Token = "0x400013E")]
444 [global::Cpp2ILInjected.Token(Token = "0x400013F")]
446 [global::Cpp2ILInjected.Token(Token = "0x4000140")]
448 }
449
450 [global::Cpp2ILInjected.Token(Token = "0x200003C")]
451 public enum ScreenMatchMode
452 {
453 [global::Cpp2ILInjected.Token(Token = "0x4000142")]
455 [global::Cpp2ILInjected.Token(Token = "0x4000143")]
456 Expand,
457 [global::Cpp2ILInjected.Token(Token = "0x4000144")]
458 Shrink
459 }
460
461 [global::Cpp2ILInjected.Token(Token = "0x200003D")]
462 public enum Unit
463 {
464 [global::Cpp2ILInjected.Token(Token = "0x4000146")]
466 [global::Cpp2ILInjected.Token(Token = "0x4000147")]
468 [global::Cpp2ILInjected.Token(Token = "0x4000148")]
469 Inches,
470 [global::Cpp2ILInjected.Token(Token = "0x4000149")]
471 Points,
472 [global::Cpp2ILInjected.Token(Token = "0x400014A")]
473 Picas
474 }
475 }
476}
class f__AnonymousType0<< Count > j__TPar
delegate void WillRenderCanvases()
CanvasScaler.Unit physicalUnit
virtual void HandleConstantPixelSize()
CanvasScaler.ScreenMatchMode m_ScreenMatchMode
CanvasScaler.Unit m_PhysicalUnit
void SetReferencePixelsPerUnit(float referencePixelsPerUnit)
void SetScaleFactor(float scaleFactor)
CanvasScaler.ScaleMode uiScaleMode
virtual void HandleConstantPhysicalSize()
virtual void HandleWorldCanvas()
CanvasScaler.ScaleMode m_UiScaleMode
CanvasScaler.ScreenMatchMode screenMatchMode
virtual void HandleScaleWithScreenSize()