Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: elusiven on November 16, 2016, 11:24:13 AM
-
Hi there
Does action resource load automatically loads from "Resources" folder?
my action setup
Asset path: food
type: object
object type: UnityEngine.Sprite
my sprite is called food. Is it food or food.jpg?
with the current setup it doesn't load anything, it just says as "none". Any ideas please?
-
Hi,
ah yes, this is an issue I meant to solve, odd I am sure I did address this at one point...
you have to fill the FsmObject variable with a sprite, otherwise it can't find the type you expect.
so in the variable tab, select your FsmObject of type Sprite, and fill it with a defauls sprite, then the action will work and will understand what resource you want to load.
I'll search my md for the updated action, I am sure I addressed this...
Bye,
Jean
-
Hi,
Ok, I have fixed it, and pushed to the Ecosystem.
can you update that action from the Ecosystem and check if it works? thanks :) you should not have to do anything special now.
Bye,
Jean
-
It works like a charm now.. Thanks :)