GridDrawer.Start C# (CSharp) Method

Start() public method

public Start ( ) : void
return void
    void Start()
    {
        temp = new Material( "Shader \"Lines/Colored Blended\" {" +
                                    "SubShader { Pass { " +
                                    "    BindChannels { Bind \"Color\",color } " +
                                    "    Blend SrcAlpha OneMinusSrcAlpha " +
                                    "    ZWrite Off Cull Off Fog { Mode Off } " +
                                    "} } }" );
        m_camController = Camera.main.GetComponent<CameraController>();
        m_center = Vector3.zero;
        m_leapController = new Controller();

        m_gridGray = new Color(0.549f, 0.549f, 0.549f);
        m_gridBlue = new Color(0.1f, 0.1f, 0.85f);
        m_currentGridColor = m_gridGray;
    }