Skip to main content

BookFlair

An abstract class in Root.Township, Alta.Pages.

Base asset for a decoration (spine, edge, emblem) added to a book's model, with renderers for each LOD.

Constructors​

MemberWhat it is
protected BookFlair()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

1 private and internal field
MemberWhat it is
private FlairLodSet prefabThe FlairLodSet prefab that AddTo spawns under the attach point.

Methods​

MemberWhat it is
virtual FlairLodSet AddTo(Transform parent, List<Renderer>[] lods)Spawns the flair prefab under the given transform and adds its renderers to the book's LOD lists.

Used in​

Members of other types that take, return or hold a BookFlair: