This file contains hidden or 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; | |
| using System.Collections.Generic; | |
| public class RandomPointOnMesh : MonoBehaviour | |
| { | |
| public MeshCollider lookupCollider; | |
| public bool bangGetPoint; | |
| private Vector3 randomPoint; |
This file contains hidden or 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 Fps : MonoBehaviour | |
| { | |
| private float count; | |
| private IEnumerator Start() | |
| { | |
| GUI.depth = 2; |
This file contains hidden or 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
| Shader "Unlit/Transparent Colored" { | |
| Properties { | |
| _Color ("Main Color", Color) = (1,1,1,1) | |
| _MainTex ("Base (RGB) Trans (A)", 2D) = "white" {} | |
| } | |
| SubShader { | |
| Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"} | |
| ZWrite Off |
NewerOlder