Table of Contents

Class FlexalonAssetTracker

Namespace
Flexalon
Assembly
Flexalon.dll

Tracks editor changes to assets used by adapters.

public class FlexalonAssetTracker : AssetPostprocessor
Inheritance
object
AssetPostprocessor
FlexalonAssetTracker

Methods

Track(IFlexalonNode, Func<Object>)

Tracks editor changes to an adapter's asset dependency. When the asset changes, an adapter check is scheduled for the node.

public static IDisposable Track(IFlexalonNode node, Func<Object> getAsset)

Parameters

node IFlexalonNode

The node which owns the tracker.

getAsset Func<Object>

Returns the asset to track.

Returns

IDisposable

A handle which stops tracking the asset when disposed.