Created
July 12, 2016 14:26
-
-
Save NegishiTakumi/7e252323a464935926012d879f542ebc to your computer and use it in GitHub Desktop.
正常に設定してるのにViveの左コントローラだけDisableになる現象への対処(早く治って)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class TempBugFix : MonoBehaviour { | |
public GameObject left; | |
void Start() { | |
BUGFIXTEMP(); | |
} | |
void BUGFIXTEMP() | |
{ | |
var tmpConf = left.GetComponent<SteamVR_TrackedObject>(); | |
tmpConf.index = SteamVR_TrackedObject.EIndex.Device4; | |
left.SetActive(true); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment