コード例 #1
0
ファイル: WebMap.cs プロジェクト: lickey10/u_CrimeMapper
    //****************************************************************************************************
    //
    //****************************************************************************************************

    public bool ResolveDependencies()
    {
        m_loader = GetComponent <WebMapLoader>();

        m_camera = GetComponentInChildren <Camera>();

        if (m_loader != null)
        {
            m_loader.map = this;

            m_loader.indicator = HUDDLoad.Instance;
        }

        if (m_camera != null)
        {
            m_initialCamXForm.FromTransform(m_camera.transform, XForm.SPACE.LOCAL);
        }

        return((m_camera != null) && (m_loader != null));
    }