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 System.Collections; | |
using UnityEngine; | |
public class DrawRay : MonoBehaviour { | |
public Transform target; | |
public GameObject listener; | |
// Use this for initialization | |
void Start () { |
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 System; | |
using UnityEngine; | |
using UnityStandardAssets.CrossPlatformInput; | |
using UnityStandardAssets.Utility; | |
using Random = UnityEngine.Random; | |
namespace UnityStandardAssets.Characters.FirstPerson | |
{ | |
[RequireComponent(typeof (CharacterController))] | |
[RequireComponent(typeof (AudioSource))] |
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 System; | |
using UnityEngine; | |
using UnityStandardAssets.CrossPlatformInput; | |
using UnityStandardAssets.Utility; | |
using Random = UnityEngine.Random; | |
namespace UnityStandardAssets.Characters.FirstPerson | |
{ | |
[RequireComponent(typeof (CharacterController))] | |
//[RequireComponent(typeof (AudioSource))] |