steamvr

How to update your Unity project Input to SteamVR 2.0?

試著忘記壹切 提交于 2019-12-30 05:05:10
问题 I have some Unity Scenes that worked well with the previous version of the SteamVR plugin, since there is a new version of the plugin "SteamVR Unity Plugin 2.0" my code no longer works. https://steamcommunity.com/games/250820/announcements/detail/1696059027982397407 I deleted the "SteamVR" folder before importing the new one as the documentation say. But I get this errors: error CS0246: The type or namespace name `SteamVR_Controller' could not be found. Are you missing an assembly reference?

How to update your Unity project Input to SteamVR 2.0?

試著忘記壹切 提交于 2019-12-30 05:05:09
问题 I have some Unity Scenes that worked well with the previous version of the SteamVR plugin, since there is a new version of the plugin "SteamVR Unity Plugin 2.0" my code no longer works. https://steamcommunity.com/games/250820/announcements/detail/1696059027982397407 I deleted the "SteamVR" folder before importing the new one as the documentation say. But I get this errors: error CS0246: The type or namespace name `SteamVR_Controller' could not be found. Are you missing an assembly reference?

playing particle system in Unity

限于喜欢 提交于 2019-12-25 01:08:57
问题 I am using Unity3D to develop for the HTV Vive using SteamVR. I have downloaded an asset from the asset store with explosion effect created using a particle system. I want to play the particle animation when an object is destroyed. Here is the code I am, unsuccessfully, using. private void OnDestroy() { explosion.GetComponent<ParticleSystem>().Play(); } Explosion is a public variable of type GameObject set from the inspector. I drop the particle system object there. Why is it not working?

How to update your Unity project Input to SteamVR 2.0?

寵の児 提交于 2019-11-30 15:22:47
I have some Unity Scenes that worked well with the previous version of the SteamVR plugin, since there is a new version of the plugin "SteamVR Unity Plugin 2.0" my code no longer works. https://steamcommunity.com/games/250820/announcements/detail/1696059027982397407 I deleted the "SteamVR" folder before importing the new one as the documentation say. But I get this errors: error CS0246: The type or namespace name `SteamVR_Controller' could not be found. Are you missing an assembly reference? error CS0246: The type or namespace name `SteamVR_TrackedController' could not be found. Are you