# 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="/files/celt32oxH2YHU7cptWDt" 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="/files/kq8eUPn1G6zsRO5IgF8Q" 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);
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://speedtutoruk.gitbook.io/apk-doc-v1.7/support/i-cant-see-new-fields-variables.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
