Click or drag to resize

BaseParamsWithPrefab Class

Custom params containing a single prefab. ItemPrefabSize is calculated on first accessing and invalidated each time InitIfNeeded(IOSA) is called.
Inheritance Hierarchy
SystemObject
  Com.ForbiddenByte.OSA.CoreBaseParams
    Com.ForbiddenByte.OSA.CustomParamsBaseParamsWithPrefab
      More...

Namespace:  Com.ForbiddenByte.OSA.CustomParams
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class BaseParamsWithPrefab : BaseParams

The BaseParamsWithPrefab type exposes the following members.

Constructors
  NameDescription
Public methodBaseParamsWithPrefab
Top
Properties
  NameDescription
Public propertyItemPrefabSize
Top
Methods
  NameDescription
Public methodInitIfNeeded
Called internally in Init and every time the scrollview's size changes. This makes sure the content and viewport have valid values. It can also be overridden to initialize custom data
(Overrides BaseParamsInitIfNeeded(IOSA).)
Top
Fields
  NameDescription
Public fielditemPrefab
Top
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also
Inheritance Hierarchy
SystemObject
  Com.ForbiddenByte.OSA.CoreBaseParams
    Com.ForbiddenByte.OSA.CustomParamsBaseParamsWithPrefab
      Com.ForbiddenByte.OSA.CustomAdapters.DateTimePickerMyParams
      Com.ForbiddenByte.OSA.CustomParamsBaseParamsWithPrefabAndDataTData
      Com.ForbiddenByte.OSA.CustomParamsBaseParamsWithPrefabAndLazyDataTData
      Com.ForbiddenByte.OSA.Demos.ChatMyParams
      Com.ForbiddenByte.OSA.Demos.ContentSizeFitterMyParams
      Com.ForbiddenByte.OSA.Demos.HierarchyMyParams
      Com.ForbiddenByte.OSA.Demos.IncrementalItemFetchMyParams
      Com.ForbiddenByte.OSA.Demos.ItemDraggingMyParams
      Com.ForbiddenByte.OSA.Demos.LoopingSpinnersMyParams
      Com.ForbiddenByte.OSA.Demos.MainMyParams
      Com.ForbiddenByte.OSA.Demos.NestedScrollViewsMyParams
      Com.ForbiddenByte.OSA.Demos.PageViewMyParams
      Com.ForbiddenByte.OSA.Demos.SimpleMyParams