Version: 2021.3

SpriteRenderer.UnregisterSpriteChangeCallback

切换到手册
public void UnregisterSpriteChangeCallback (UnityAction<SpriteRenderer> callback);

参数

callback The callback to be removed.

描述

Removes a callback (that receives a notification when the Sprite reference changes) that was previously registered to a SpriteRenderer.