Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: looi on February 24, 2016, 04:30:38 AM
-
Hello
I am instantiating a prefab around the game. This prefabs contains a camera. What I want to do is to asign a Render Texture to each instantiated cam. I have the GameObject in a variable, and what I would do is:
- Get Component. Save the camera component in an Object (UnityEngine.Camera) variable.
- Set Property > Tarjet Texture and asign it.
It is just what it is said in this post:
http://hutonggames.com/playmakerforum/index.php?topic=2791.msg12641#msg12641 (http://hutonggames.com/playmakerforum/index.php?topic=2791.msg12641#msg12641)
My problem is that I can't find the UnityEngine.Camera Object type when I create a Object variable. Is it posible? Maybe I am doing something wrong?
-
Hi,
http://forum.unity3d.com/attachments/dragcomponenttovariables-gif.167668/
Dev
-
Oooh! I didn't know it is possible to do that!
Thank you Dev!