From 96acdc206ba6a9e8b1c2b955128f581526563211 Mon Sep 17 00:00:00 2001 From: ViktorLjung Date: Mon, 23 May 2016 22:49:40 +0200 Subject: [PATCH] LaserPointer base --- Assets/LaserPointer.cs | 20 ++++++++++++++++++++ Assets/LaserPointer.cs.meta | 12 ++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 Assets/LaserPointer.cs create mode 100644 Assets/LaserPointer.cs.meta diff --git a/Assets/LaserPointer.cs b/Assets/LaserPointer.cs new file mode 100644 index 0000000..8e50e6a --- /dev/null +++ b/Assets/LaserPointer.cs @@ -0,0 +1,20 @@ +using UnityEngine; +using System.Collections; + +public class LaserPointer : MonoBehaviour { + + // Use this for initialization + void Start () { + + } + + // Update is called once per frame + void Update () { + + } + + Vector3 GetIntersection(){ + Vector3 position = new Vector3(0, 0, 0); + return position; + } +} diff --git a/Assets/LaserPointer.cs.meta b/Assets/LaserPointer.cs.meta new file mode 100644 index 0000000..de9ce71 --- /dev/null +++ b/Assets/LaserPointer.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 83f5c154ef1288d4799232c6d329d997 +timeCreated: 1464020672 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: