Inheritance: MonoBehaviour
Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        float[] z;

        gameObject.AddComponent <MeshFilter>();
        gameObject.AddComponent <MeshRenderer>();

        uniCornerMesh = GetComponent <MeshFilter>().mesh;

        mh = GameObject.Find("plane").GetComponent <MuhShader> ();

        depthScroll = 20.0f;
    }
Beispiel #2
0
    // Use this for initialization
    void Start()
    {
        float[] z  ;

        gameObject.AddComponent<MeshFilter>();
        gameObject.AddComponent<MeshRenderer>();

        uniCornerMesh = GetComponent<MeshFilter>().mesh;

        mh = GameObject.Find ("plane").GetComponent<MuhShader> ();

        depthScroll = 20.0f;
    }