This is the old Animancer v7.4 documentation. Click here for the latest version.

TransitionPreviewSettings.

GetOrCreateDefaultSprite(Transform) Method

Summary

Returns the default preview object for UnityEngine.Sprite animations.

Syntax

public static GameObject GetOrCreateDefaultSprite(Transform parent)

Remarks

A `parent` is required to create the object.

Parameters

Name Type Description
parent Transform

Return Value

Type Description
GameObject