예제 #1
0
파일: Manager.cs 프로젝트: robinzhx/loom
    public void AddP2Pointer(string handTag)
    {
        P2Laser.SetActive(true);
        ControllerVR P2Hand = P2Laser.GetComponent <ControllerVR>();

        P2Hand.MyHand = GameObject.FindGameObjectWithTag(handTag);
    }
예제 #2
0
파일: Manager.cs 프로젝트: robinzhx/loom
    public void AssignSelfPointer(string handTag)
    {
        P1Laser.SetActive(true);
        ControllerVR P1Hand = P1Laser.GetComponent <ControllerVR>();

        P1Hand.MyHand = GameObject.FindGameObjectWithTag(handTag);
    }