Tanoda
pb_GizmoAttribute.cs
Go to the documentation of this file.
1
using
UnityEngine
;
2
using
System;
3
4
namespace
GILES
5
{
10
[AttributeUsage(AttributeTargets.Class, AllowMultiple =
false
, Inherited =
true
)]
11
public
class
pb_GizmoAttribute
: Attribute
12
{
14
public
Type
type
;
15
19
public
pb_GizmoAttribute
(System.Type
type
)
20
{
21
this.type =
type
;
22
}
23
27
public
virtual
bool
CanEditType
(Type rhs)
28
{
29
return
type
.IsAssignableFrom(rhs);
30
}
31
}
32
}
GILES.pb_GizmoAttribute
Definition:
pb_GizmoAttribute.cs:12
GILES.pb_GizmoAttribute.CanEditType
virtual bool CanEditType(Type rhs)
Definition:
pb_GizmoAttribute.cs:27
GILES.pb_GizmoAttribute.type
Type type
The type for which this class is providing an editor.
Definition:
pb_GizmoAttribute.cs:14
GILES.pb_GizmoAttribute.pb_GizmoAttribute
pb_GizmoAttribute(System.Type type)
Definition:
pb_GizmoAttribute.cs:19
GILES
Definition:
pb_CollectionUtil.cs:4
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
GILES
Code
Classes
GUI
pb_GizmoAttribute.cs
Generated by
1.9.3