Scripting API

Scripting API

ResMut<T>

Struct in Abyss.Core, from Abyss.Core.

Read/write access to a resource's value, pointing at the native storage.

public readonly ref struct ResMut<T> where T : unmanaged

Type parameters

  • T: The resource's struct type.

Properties

Value

public ref T Value { get; }

The resource's value. Writing to it writes to the world.