Summary
Logs an error and returns false if the data at the specified `index` is out of the texture bounds.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor .Tools - Containing Type
- SpriteDataEditor
Syntax
public bool ValidateBounds(int index, Sprite sprite)
Parameters
| Name | Type | Description |
|---|---|---|
| index | int | |
| sprite | Sprite |
Return Value
| Type | Description |
|---|---|
| bool |