ScrollingObjectCollection.UseOnPreRender Property

Definition

Toggles whether Camera OnPreRender callback will be used to manage content visibility. The fallback is MonoBehaviour.LateUpdate().

public:
 property bool UseOnPreRender { bool get(); void set(bool value); };
public bool UseOnPreRender { get; set; }
member this.UseOnPreRender : bool with get, set
Public Property UseOnPreRender As Boolean

Property Value

Boolean

Remarks

This is especially helpful if you're trying to scroll dynamically created objects that may be added to the list after LateUpdate,

Applies to