Skip to Main Content

BTD_Mod_Helper​.Extensions​.AsyncOperationHandleExt


BloonsTD6 Mod Helper

BTD_Mod_Helper.Extensions

AsyncOperationHandleExt Class

Extensions for AsyncOperationHandles

public static class AsyncOperationHandleExt

Inheritance System.Object  AsyncOperationHandleExt

Methods

AsyncOperationHandleExt.IsModded(this AsyncOperationHandle, string) Method

Gets whether the AsyncOperationHandle is for a modded sprite

public static bool IsModded(this AsyncOperationHandle<Sprite> handle, out string name);

Parameters

handle UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle

this

name System.String

resource name of modded sprite

Returns

System.Boolean
whether it's for a modded sprite or not