BaseParams
Optimization
scaleToZeroInsteadOfDisable Field
|
Enables ability to scale out-of-view objects to zero instead of de-activating them, since GameObject.SetActive is slightly more expensive to call each frame (especially when scrolling via the scrollbar). This is not a major speed improvement, but rather
a slight memory improvement. It's recommended to use this option if your game/business logic doesn't require the game objects to be de-activated.
Namespace:
Com.ForbiddenByte.OSA.Core
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public bool scaleToZeroInsteadOfDisable
Field Value
Type:
Boolean
Version Information
Optimized ScrollView Adapter
Supported in: 4.3
See Also