edited July 2014 in ORK Support
Hello,

I have a camera however I wanted to use the Ork way of adding a camera script.
I have been able to add it but I can't seem to access the different settings.

For example my camera script has Target Settings then as a drop down Target Tag.
I am trying to access Target Tag so I can assign Player.

There are others I need to change but that was just an example.

Any help would be super duper awesome :)
Post edited by gameintern on


  • edited July 2014
    I'm afraid you'll have to do some scripting on your camera script, since the player is spawned by ORK and not available in the scene before that, there is no player to select ...

    You can get the player's game object through this code:

    GameObject player = ORK.Game.GetPlayer();

    Also, if a control needs some special settings that can't be done with field settings in custom controls, you should simply add the camera script to your scene's camera and do the setup there :)
    Post edited by gamingislove on
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Okay cool, I don't mind adding the camera to the scene anyhow, I was just testing out different situations.

    :)


Sign In or Register to comment.