Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How do you queun up TagtoPlace two object one after another at the start of the game

Discussion in 'VR' started by cgmagic, Dec 16, 2016.

  1. cgmagic

    cgmagic

    Joined:
    Oct 5, 2013
    Posts:
    12
    At the beginning of the game, I was trying to do

    1. Tag to place an object in the scene.
    2. then after you placed the first object, I want to you to place the second object in the scene as well.
    3. then the game start.

    The same way Holostuido does it. At the beginning, you place the model, then you place the toolbox. any idea how they integrated that with holelens ?

    I am using TagToPlace script from the Holotool kit. and I can only Tag to Place the first object, no idea how to queue up the second object to be placed straight after.

    Cheers
     
  2. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    Adding some bool checks to see what objects are placed in the scene might be one solution to this issue. You can place the 1st object in the scene, then set a bool check for that object to true. Then when you tap again run a if check to see 1st object is placed, if true, place second object.