Table of Contents

Class LayerItemUI

Individual layer item UI component. Updated for LayerObject-based system.

public class LayerItemUI : MonoBehaviour
Inheritance
LayerItemUI

Fields

OnClicked

public Action OnClicked

Field Value

Action

OnLockChanged

public Action<bool> OnLockChanged

Field Value

Action<bool>

OnNameChanged

public Action<string> OnNameChanged

Field Value

Action<string>

OnOpacityChanged

public Action<float> OnOpacityChanged

Field Value

Action<float>

OnVisibilityChanged

public Action<bool> OnVisibilityChanged

Field Value

Action<bool>

Properties

IsSelected

public bool IsSelected { get; }

Property Value

bool

LayerIndex

public int LayerIndex { get; }

Property Value

int

Methods

Initialize(LayerObject, int)

public void Initialize(LayerObject layer, int index)

Parameters

layer LayerObject
index int

SetSelected(bool)

public void SetSelected(bool selected)

Parameters

selected bool

UpdateThumbnail()

public void UpdateThumbnail()