Interhaptics SDK for Unity
1.6
Loading...
Searching...
No Matches
Interhaptics
sdk_unity
Interhaptics
Runtime
ConditionalHideAttribute.cs
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Go Touch VR SAS. All rights reserved.
3
*
4
*/
5
6
namespace
Interhaptics.Utils
7
{
8
using
UnityEngine;
9
10
public
class
ConditionalHideAttribute
: PropertyAttribute
11
{
12
public
string
ConditionalSourceField
{
get
;
private
set
; }
13
public
bool
HideInInspector
{
get
;
private
set
; }
14
15
public
ConditionalHideAttribute
(
string
conditionalSourceField,
bool
hideInInspector =
false
)
16
{
17
ConditionalSourceField
= conditionalSourceField;
18
HideInInspector
= hideInInspector;
19
}
20
}
21
}
Interhaptics.Utils.ConditionalHideAttribute
Definition
ConditionalHideAttribute.cs:11
Interhaptics.Utils.ConditionalHideAttribute.HideInInspector
bool HideInInspector
Definition
ConditionalHideAttribute.cs:13
Interhaptics.Utils.ConditionalHideAttribute.ConditionalSourceField
string ConditionalSourceField
Definition
ConditionalHideAttribute.cs:12
Interhaptics.Utils.ConditionalHideAttribute.ConditionalHideAttribute
ConditionalHideAttribute(string conditionalSourceField, bool hideInInspector=false)
Definition
ConditionalHideAttribute.cs:15
Interhaptics.Utils
Definition
ConditionalHideAttribute.cs:7
Generated by
1.11.0