playMaker

Author Topic: UnityEngine.Camera Object variable type? [SOLVED]  (Read 1800 times)

looi

  • Playmaker Newbie
  • *
  • Posts: 21
UnityEngine.Camera Object variable type? [SOLVED]
« 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

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?
« Last Edit: February 26, 2016, 03:23:49 AM by looi »

3d_Artist1987

  • Beta Group
  • Full Member
  • *
  • Posts: 157

looi

  • Playmaker Newbie
  • *
  • Posts: 21
Re: UnityEngine.Camera Object variable type?
« Reply #2 on: February 24, 2016, 09:57:57 AM »
Oooh! I didn't know it is possible to do that!

Thank you Dev!