Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone.NativeComponentRef< T > Struct Template Reference

Public Member Functions

 NativeComponentRef (Entity newEntity, IntPtr initialPtr=default)
readonly override bool Equals (object? obj)
readonly override int GetHashCode ()
bool TryResolve (out IntPtr ptr)

Static Public Member Functions

static bool operator== (NativeComponentRef< T > a, NativeComponentRef< T > b)
static bool operator!= (NativeComponentRef< T > a, NativeComponentRef< T > b)
static implicit operator bool (NativeComponentRef< T > compRef)

Properties

Entity Entity [get]
bool IsValid [get]
ref T Value [get]

The documentation for this struct was generated from the following file:
  • /github/workspace/plugins/Grindstone.Script.CSharp/CSharpCore/ECS/NativeComponent.cs