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 UnityEngine; | |
using System.Collections; | |
[ExecuteInEditMode] | |
public class Bezir3 : MonoBehaviour { | |
public GameObject StartObject; | |
public GameObject StartControlObject; | |
public GameObject EndObject; | |
public GameObject EndControlObject; |
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
Shader "Custom/NegaLinear" { | |
Properties{ | |
_MainTex ("Texture", 2D) = "white" {} | |
_NegaOffs("NegaOffs",Range(-1,1))=1 | |
} | |
SubShader { | |
Pass { | |
CGPROGRAM | |
#include "UnityCG.cginc" |