Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 415 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 415 Bytes

LinkableAssetValidator

Tiny asset reference validator

Installation

Copy AssetValidator and LinkableAsset classes into your code/projects.

Usage

  • Use OnValidate() on the prefered MonoBehavoiur object that needs asset references validated.
  • Use AssetValidator.ValidateAssets() in OnValidate() to force reference validation on every component change.
  • Check ExampleScene for example usage.