> For the complete documentation index, see [llms.txt](https://speedtutoruk.gitbook.io/apk-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://speedtutoruk.gitbook.io/apk-documentation/support/i-cant-see-new-fields-variables.md).

# I can't see new fields / variables?

{% embed url="<https://drive.google.com/file/d/1O2TcFHO_CvnrPSCHuGzCCKHs-3wFwxCJ/view?usp=sharing>" %}

{% hint style="info" %}
Some scripts do have custom editors which mean that if you add fields or variables to the parent script, they won't appear unless you update the custom editor.
{% endhint %}

### Scripts with Custom Editors:

* AKItem
* AKUIManager
* BasicNote
* BasicReverseNote
* CustomNote
* CustomReverseNote
* ExaminableItem
* FlashlightItemBaseClass
* GeneratorItem
* LeverSystemController

<figure><img src="https://2670832224-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL8GtpEwbGN0bJplKvWXb%2Fuploads%2FfP5322AJspDJTd9NRPg8%2FEditorFolder.JPG?alt=media&amp;token=1239ea76-f955-4b6d-a37a-31a4c3d2d32a" alt=""><figcaption></figcaption></figure>

### How to edit these scripts to include new variables:

* Each script that you see in the inspector that uses a custom editor will have a button called "Open Editor Script" - So you can easily access it.&#x20;

<figure><img src="https://2670832224-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL8GtpEwbGN0bJplKvWXb%2Fuploads%2FFK5CR2MFwY5FipxWjRdQ%2FCustomEditorButton.JPG?alt=media&amp;token=b4ab0c6f-c7f0-4001-99b8-149ad1d4fdd8" alt=""><figcaption></figcaption></figure>

* Lets take the FlashlightItemBaseClass as an example:
* You first set the SerializedProperty for the fields you've created in your other script:

```csharp
SerializedProperty NameOfFieldsFromOtherScript;
```

Then in OnEnable, you must find that property.&#x20;

```csharp
private void OnEnable()
{
    NameOfFieldsFromOtherScript = serializedObject.FindProperty("NameOfFieldsFromOtherScript");
}
```

In the OnInspectorGUI you must add the field to show the field

```csharp
public override void OnInspectorGUI()
{
    EditorGUILayout.PropertyField(NameOfFieldsFromOtherScript);
}
```
