Ejemplo n.º 1
0
 public void RegistCameraImpl(CameraImpl cameraImpl)
 {
     m_cameraImpl = cameraImpl;
     if (m_cameraImpl == null)
     {
         m_initialized = false;
     }
     else
     {
         if (m_setting != null)
         {
             InitCameraStock(m_setting);
         }
     }
 }
Ejemplo n.º 2
0
        public void InitLook()
        {
            if (m_initLook)
            {
                return;
            }

            GameObject gameObject = GameObject.Find("CameraImpl");

            if (gameObject != null)
            {
                m_cameraImpl = gameObject.GetComponent <CameraImpl>();
                CameraSetting cameraSetting = gameObject.transform.FindChildComponent <CameraSetting>("CameraOption");
                if (cameraSetting != null)
                {
                    m_cameraImpl.SetCameraViewStock(cameraSetting);
                }

                m_initLook = true;
            }
        }
Ejemplo n.º 3
0
 public CameraTarget(CameraImpl impl)
 {
     m_cameraImpl = impl;
 }