public void Start()
    {
        this.m_display = this.transform.FindChild("Interface").FindChild("Display").transform;
        this.m_camera = this.GetComponentInChildren<Camera>();
        this.m_render = this.GetComponent<RenderTextureFree>();

        CameraRaycastManager.Instance.Listen(this.m_camera,1 << LayerMask.NameToLayer("Windowed"),true); // on écoute la nouvelle caméra
    }
    // Use this for initialization
    void Start()
    {
        if(m_animation <= 0){
            this.m_animationAllowed = false;
        }

        Transform inter = this.transform.FindChild("Interface");
        this.m_display = inter.transform.FindChild("Display").gameObject;
        this.m_buttons = inter.FindChild("Buttons");

        this.m_displayScale = this.m_display.transform.localScale;

        this.m_initMaterials = new WindowMaterialsParams();
        MeshRenderer renderer = this.m_display.GetComponent<MeshRenderer>();
        this.m_initMaterials.m_borderScale = renderer.material.GetTextureScale("_Border");
        this.m_initMaterials.m_borderOffset = renderer.material.GetTextureOffset("_Border");
        this.m_initMaterials.m_displayScale = renderer.material.mainTextureScale;
        this.m_initMaterials.m_displayOffset = renderer.material.mainTextureOffset;
        this.m_initMaterials.m_maksScale = renderer.material.GetTextureScale("_Mask");
        this.m_initMaterials.m_maskOffset = renderer.material.GetTextureOffset("_Mask");

        this.m_renderer = this.GetComponent<RenderTextureFree>();
    }