Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Runtime Level Design

Discussion in 'Assets and Asset Store' started by XGT08, Jan 17, 2016.

  1. lizzilizzi

    lizzilizzi

    Joined:
    Apr 5, 2015
    Posts:
    5
    Thank you, that helped for one of the assets, but not for the other one. Not sure why.

    I am however, getting some performance issues when the Read/Write on the mesh is enabled. My game now freezes when I spawn in the asset using RLD.

    I noticed there is an ObjectPool script. Is the ObjectPool loading all prefabs at Start, or does it pool the objects once spawned in the scene with RLD?

    Cheers
     
  2. lizzilizzi

    lizzilizzi

    Joined:
    Apr 5, 2015
    Posts:
    5
    How would I activate the move gismo by code?

    Say I have an object selected, and instead of pressing the key to activate the move gismo, I wanted to call it from code.


    Thanks
     
  3. XGT08

    XGT08

    Joined:
    Aug 1, 2013
    Posts:
    1,630
    Hi there,

    You can use the following code:
    Code (CSharp):
    1. RTObjectSelectionGizmos.Get.SetWorkGizmo(ObjectSelectionGizmoId.MoveGizmo);
     
unityunity