Ejemplo n.º 1
0
 private void Awake()
 {
     stretchedPoints   = new List <Vector3Int>();
     stretchResult     = 0;
     m_downCursorPoint = null;
     m_upCursorPoint   = null;
     vrcon             = GameObject.Find("VRInputController").GetComponent <VRInputController>();
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 private void Awake()
 {
     normal          = null;
     m_downPoint     = null;
     m_upPoint       = null;
     selectionPoints = new List <Vector3Int>();
     vrcon           = GameObject.Find("VRInputController").GetComponent <VRInputController>();
 }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 private void Start()
 {
     //Setup voxel arg
     voxelArg = new Voxel()
     {
         voxel = VoxelInfoLibrary.GetVoxel("Stone"),
         color = Color.white
     };
     vrcon = GameObject.Find("VRInputController").GetComponent <VRInputController>();
 }
Ejemplo n.º 4
0
 private void Start()
 {
     vrcon = GameObject.Find("VRInputController").GetComponent <VRInputController>();
     //selectedObjects.Add(WorldDataManager.Instance.ActiveWorld.GetVoxelObject(0));
 }
Ejemplo n.º 5
0
 private void Start()
 {
     vrcon = GameObject.Find("VRInputController").GetComponent <VRInputController>();
 }
Ejemplo n.º 6
0
 private void Awake()
 {
     instance = this;
 }
Ejemplo n.º 7
0
 private void Awake()
 {
     vrcon             = GameObject.Find("VRInputController").GetComponent <VRInputController>();
     this.laserPointer = vrcon.rightHand.GetComponent <SteamVR_LaserPointer>();
 }
Ejemplo n.º 8
0
 private void Start()
 {
     this.Imode = InteractionMode.VR;
     vrcon      = GameObject.Find("VRInputController").GetComponent <VRInputController>();
     ToolModeSwitching();
 }
Ejemplo n.º 9
0
 // Start is called before the first frame update
 void Start()
 {
     selectedVoxels = new List <Voxel>();
     vrcon          = GameObject.Find("VRInputController").GetComponent <VRInputController>();
 }