Tanoda
GILES.Interface.pb_PrefabBrowserItemButton Class Reference
Inheritance diagram for GILES.Interface.pb_PrefabBrowserItemButton:

Public Member Functions

void Initialize (bool previewOnly=false)
 
void Instantiate ()
 
void InstantiateInEditor ()
 
override void OnPointerEnter (PointerEventData eventData)
 
override void OnPointerExit (PointerEventData eventData)
 
void MakeGlobal ()
 

Static Public Member Functions

static Vector2 SizeToParent (RawImage image, float padding=0)
 

Public Attributes

string prefabId = ""
 
string fullFilePath = ""
 
GameObject asset
 
RawImage previewImg
 
bool global = false
 
float cameraRotateSpeed = 50f
 
GameObject PrefabGlobalFileBadge
 

Protected Member Functions

override void Start ()
 
override void OnDestroy ()
 

Detailed Description

Button implementation that shows a preview of an inspector prefab object.

Definition at line 30 of file pb_PrefabBrowserItemButton.cs.

Member Function Documentation

◆ Initialize()

void GILES.Interface.pb_PrefabBrowserItemButton.Initialize ( bool  previewOnly = false)

Definition at line 179 of file pb_PrefabBrowserItemButton.cs.

◆ Instantiate()

void GILES.Interface.pb_PrefabBrowserItemButton.Instantiate ( )

Instantiate the inspected object in the scene.

Definition at line 342 of file pb_PrefabBrowserItemButton.cs.

◆ InstantiateInEditor()

void GILES.Interface.pb_PrefabBrowserItemButton.InstantiateInEditor ( )

Instantiate the inspected object in the Model Editor.

Definition at line 466 of file pb_PrefabBrowserItemButton.cs.

◆ MakeGlobal()

void GILES.Interface.pb_PrefabBrowserItemButton.MakeGlobal ( )

Definition at line 872 of file pb_PrefabBrowserItemButton.cs.

◆ OnDestroy()

override void GILES.Interface.pb_PrefabBrowserItemButton.OnDestroy ( )
protected

Definition at line 305 of file pb_PrefabBrowserItemButton.cs.

◆ OnPointerEnter()

override void GILES.Interface.pb_PrefabBrowserItemButton.OnPointerEnter ( PointerEventData  eventData)

Definition at line 510 of file pb_PrefabBrowserItemButton.cs.

◆ OnPointerExit()

override void GILES.Interface.pb_PrefabBrowserItemButton.OnPointerExit ( PointerEventData  eventData)

Definition at line 552 of file pb_PrefabBrowserItemButton.cs.

◆ SizeToParent()

static Vector2 GILES.Interface.pb_PrefabBrowserItemButton.SizeToParent ( RawImage  image,
float  padding = 0 
)
static

Definition at line 273 of file pb_PrefabBrowserItemButton.cs.

◆ Start()

override void GILES.Interface.pb_PrefabBrowserItemButton.Start ( )
protected

When this button is instantiated, send event to base and then add the onClick listener.

Definition at line 155 of file pb_PrefabBrowserItemButton.cs.

Member Data Documentation

◆ asset

GameObject GILES.Interface.pb_PrefabBrowserItemButton.asset

Definition at line 39 of file pb_PrefabBrowserItemButton.cs.

◆ cameraRotateSpeed

float GILES.Interface.pb_PrefabBrowserItemButton.cameraRotateSpeed = 50f

Definition at line 43 of file pb_PrefabBrowserItemButton.cs.

◆ fullFilePath

string GILES.Interface.pb_PrefabBrowserItemButton.fullFilePath = ""

Definition at line 37 of file pb_PrefabBrowserItemButton.cs.

◆ global

bool GILES.Interface.pb_PrefabBrowserItemButton.global = false

Definition at line 41 of file pb_PrefabBrowserItemButton.cs.

◆ PrefabGlobalFileBadge

GameObject GILES.Interface.pb_PrefabBrowserItemButton.PrefabGlobalFileBadge

Definition at line 55 of file pb_PrefabBrowserItemButton.cs.

◆ prefabId

string GILES.Interface.pb_PrefabBrowserItemButton.prefabId = ""

Definition at line 36 of file pb_PrefabBrowserItemButton.cs.

◆ previewImg

RawImage GILES.Interface.pb_PrefabBrowserItemButton.previewImg

Definition at line 40 of file pb_PrefabBrowserItemButton.cs.


The documentation for this class was generated from the following file: