Version: 2019.1
Experimental: this API is experimental and might be changed or removed in the future.

SpriteEditorModuleBase.ApplyRevert

Switch to Manual
public bool ApplyRevert (bool apply);

Parameters

applyTrue when user wants to apply the data, false when user wants to revert.

Returns

bool Return true to trigger a reimport.

Description

This is called when user clicks on the Apply or Revert button in Sprite Editor Window.