Tanoda
LeapRuntimeTintDataDrawer.cs
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (C) Ultraleap, Inc. 2011-2020. *
3
* *
4
* Use subject to the terms of the Apache License 2.0 available at *
5
* http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
6
* between Ultraleap and you, your company or other organization. *
7
******************************************************************************/
8
9
using
System.Collections;
10
using
System.Collections.Generic;
11
using
UnityEngine
;
12
using
UnityEditor
;
13
14
namespace
Leap.Unity.GraphicalRenderer
{
15
16
[CustomPropertyDrawer(typeof(LeapRuntimeTintData))]
17
public
class
LeapRuntimeTintDataDrawer
:
CustomPropertyDrawerBase
{
18
19
protected
override
void
init
(SerializedProperty property) {
20
base.init(property);
21
22
drawProperty
(
"_color"
);
23
}
24
}
25
}
Leap.Unity.CustomPropertyDrawerBase
Definition:
CustomPropertyDrawerBase.cs:16
Leap.Unity.CustomPropertyDrawerBase.drawProperty
void drawProperty(string name, bool includeChildren=true, bool disable=false)
Definition:
CustomPropertyDrawerBase.cs:100
Leap.Unity.GraphicalRenderer.LeapRuntimeTintDataDrawer
Definition:
LeapRuntimeTintDataDrawer.cs:17
Leap.Unity.GraphicalRenderer.LeapRuntimeTintDataDrawer.init
override void init(SerializedProperty property)
Definition:
LeapRuntimeTintDataDrawer.cs:19
Leap.Unity.GraphicalRenderer
Definition:
EditorPickingMeshRebuilder.cs:12
UnityEditor
Definition:
BoxSliderEditor.cs:6
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
Plugins
LeapMotion
Legacy
GraphicRenderer
Scripts
Features
Tint
Editor
LeapRuntimeTintDataDrawer.cs
Generated by
1.9.3