Table of Contents

Method TryLoad

Namespace
GrindFest.Content
Assembly
GrindFest.dll

TryLoad(string, out Object)

Blocking load. Legal on every platform (that is the point of content directories) but it is a frame stall, so it stays reserved for values consumed as data — the same rule the plan states for a synchronous read: the value must be needed as data, and its content must already be inside a registered scope.

public static bool TryLoad(string key, out Object asset)

Parameters

key string
asset Object

Returns

bool