Hi!
I need to put door into prefab and create many doors on my level.
Door by clicking on it should open.
I put hotspot and created interaction script. But after instantiating of prefab I found that content of action list (interaction) is not stored in prefab at all.
I`ve tryied to use ActionList asset. But problem that I can`t transfer parameter to it with gameobject which should be rotated (link to movable part of the door). Parameters just ignored because it`s ActionList asset it is looking for link in whole scene even if I fill parameters from custom script which I`ve made for this prefab. Any ideas how can I do this stupid door?

Comments
I'm assuming you've made sure that the parameter indices match up with the objectsToLink. Also know that if you want to assign GameObject parameters to an ActionList Asset, you need to add a ConstantID component to the GameObject and assign the ID number instead - this is how ActionListAssets keep track of GameObjects that exist in a scene.
If you're assigning the parameters to an ActionList / ActionListAsset before it's run, it may be that they're resetting once you run it. If you get the newly-released AC v1.51, the ActionList: Run Action makes the assigning of parameters optional - so try unchecking that if you're assigning parameters manually.
Also note that if you can run the posted code once an ActionList has begun, however, there should be no problem.
this is what I`ve missed, also tried that - not helped.
// Should be
Because in first case all parameters are used directly from prefab and (if you have N>1 instances of this prefab) last assigned intValue will be used.
It works but it`s cumbersome =(
Thank you for pointing out the issue in Awake(), I will look into that.
With v1.51, you can create an event listener for when a Hotspot is interacted with. Specifically, you want the OnHotspotInteract event. With this, you could write a script attached to your Hotspot that looks at two Markers, the Hotspot, and the Player, to determine which Marker the player should move to (and assign it as the Hotspot's Walk to Marker manually).