User Tools

Site Tools


scripting:playmaker

Playmaker Actions

NextGenSprites delivers all the basic Actions you need to use it with PlayMaker.

Get and Set Float

These are two actions which allow you to receive or set a float value on the material depending on the KeyFloat property you have chosen.

Get and Set Tint

These are two actions which allow you to receive or set a color value on the material depending on the KeyColor property you have chosen. Leaving Shared Material unticked will spawn a new Material instance on the Gameobject.

Get and Set Texture

These are two actions which allow you to receive or set a Texture on the material depending on the KeyTexture property you have chosen. Leaving Shared Material unticked will spawn a new Material instance on the Gameobject.

Note: Setting “Sprite” has no effect, since the Sprite texture is Pre-Rendered data by the SpriteRenderer.

Check and Set Feature

These are two actions which allow you to check or toggle a Shader Feature on the material depending on the KeyFeature property you have chosen. Leaving Shared Material unticked will spawn a new Material instance on the Gameobject.

Set Shadow Casting

This action allows you to toggle shadow casting on the sprite. You can also select other shadow casting modes but the default “On” is all you need.

scripting/playmaker.txt · Last modified: 2015/09/27 01:11 by admin

Page Tools