> 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="/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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://speedtutoruk.gitbook.io/apk-documentation/support/i-cant-see-new-fields-variables.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
