Skip to main content

CosmeticEyePart

A class in Root.Township, Alta.Customization.

Mesh part for eyes. Packs like other cosmetic meshes but blits with the character's eye shaders instead of the default ones.

Constructors​

MemberWhat it is
CosmeticEyePart()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private Material materialBacking field for Material.

Properties​

MemberWhat it is
Material Material { get; }Material used to show these eyes on the eye pickup (EyePickup).

Methods​

MemberWhat it is
protected override CosmeticPacker.Input CreateInput(ICustomizationHandler handler, CustomizationArguments arguments)Builds the packer input as the base does, then swaps the blit materials for copies of the dummy's eye blit materials.