Tanoda
pb_RawImageInspector.cs
Go to the documentation of this file.
1
using
UnityEngine
;
2
using
System.Collections;
3
using
System.Reflection;
4
using
UnityEngine
.
UI
;
5
6
namespace
GILES.Interface
7
{
8
[pb_TypeInspector(typeof(RawImage))]
9
public
class
pb_RawImageInspector
: pb_TypeInspector
10
{
11
12
public
Text
title
;
13
public
RawImage
ui_image
;
14
15
void
OnGUIChanged()
16
{
17
SetValue(
ui_image
);
18
}
19
20
public
override
void
InitializeGUI
()
21
{
22
title
.text = GetName();
23
}
24
public
void
TextureChanged
(
string
textureName)
25
{
26
OnGUIChanged();
27
SetValue(textureName);
28
}
29
30
protected
override
void
OnUpdateGUI
()
31
{
32
}
33
}
34
}
GILES.Interface.pb_RawImageInspector
Definition:
pb_RawImageInspector.cs:10
GILES.Interface.pb_RawImageInspector.OnUpdateGUI
override void OnUpdateGUI()
Definition:
pb_RawImageInspector.cs:30
GILES.Interface.pb_RawImageInspector.ui_image
RawImage ui_image
Definition:
pb_RawImageInspector.cs:13
GILES.Interface.pb_RawImageInspector.title
Text title
Definition:
pb_RawImageInspector.cs:12
GILES.Interface.pb_RawImageInspector.TextureChanged
void TextureChanged(string textureName)
Definition:
pb_RawImageInspector.cs:24
GILES.Interface.pb_RawImageInspector.InitializeGUI
override void InitializeGUI()
Definition:
pb_RawImageInspector.cs:20
GILES.Interface
Definition:
pb_AutoStageItemEditor.cs:9
UnityEngine.UI
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
GILES
Code
Classes
GUI
Type Inspectors
pb_RawImageInspector.cs
Generated by
1.9.3