Sites

Menu

Requirable Inspector

The Requirable Inspector is a debugging extension for the Unity Inspector, which helps visualize the use of [Require] in MonoBehaviour components.

Usage

To use the extension, ensure the package is added to your project and enter Play mode.

  1. Select any Unity GameObject that is linked to a SpatialOS entity in your Hierarchy.
  2. Open the Unity Inspector.
  3. Browse to a MonoBehaviour that you want to inspect.
  4. Select the ▶ button next to SpatialOS

Explanation

The extension lists all objects that are required through the [Require] attributes. The dot in front of each type indicates whether an object is available:

  • Green: The object is available.
  • Grey: The object is not available.

Each object that you require may have requirements that need to be fulfilled, before the GDK is able to make the object available and enable this MonoBehaviour.

If you have a grey indicator on a Reader it can be due to one the following reasons:

A grey indicator for a Writer or CommandReceiver can be due to:

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums