Table of Contents

Class AIAssetExtensions

Namespace
Glitch9.AIDevKit
public static class AIAssetExtensions
Inheritance
object
AIAssetExtensions

Methods

SafeGetApiInspectorName<T>(T)

public static string SafeGetApiInspectorName<T>(this T asset) where T : AIAsset

Parameters

asset T

Returns

string

Type Parameters

T

SafeGetApi<T>(T, Api)

public static Api SafeGetApi<T>(this T asset, Api fallback = Api.None) where T : AIAsset

Parameters

asset T
fallback Api

Returns

Api

Type Parameters

T

SafeGetName<T>(T, string)

public static string SafeGetName<T>(this T asset, string fallback = "Unknown") where T : AIAsset

Parameters

asset T
fallback string

Returns

string

Type Parameters

T