[HideInEditorMode]

Attribute hides the field when Unity is not in Play mode.

Parameters

Parameter Name
Description

None

This attribute has no parameters.

Examples

[HideInEditorMode]
public int value;

[HideInEditorMode]
public string text;

Last updated