//RuntimePlatform platform;

    // [Header("TextInfo")]
    // public Text testInputText;
    // public Text TopNameLabel;
    // public Text SearchTopLabelName;
    // public Text SearchTopLabel;


    // public struct cameraParms
    // {
    //     public float Distance;
    //     public float MisDis;
    //     public float MaxDis;
    //     public float ResetDis;
    // }
    // //图钉模式摄像机参数
    // public cameraParms signCameraParms = new cameraParms();
    // //图谱模式摄像机参数
    // public cameraParms mapCameraParms = new cameraParms();

    private void Awake()
    {
        touchCtrl = GameObject.Find("TouchCtrl").GetComponent <TouchCtrl>();
        instance  = this;
        //StartCoroutine(StartParamsSet ());
        PublicClass.currentState = RunState.Playing;
    }
示例#2
0
 // Use this for initialization
 private void Awake()
 {
     if (touchCtrl == null)
     {
         touchCtrl = this;
     }
 }
示例#3
0
 public override void ExeTriggerEvent(TouchCtrl touchCtrl)
 {
     base.ExeTriggerEvent(touchCtrl);
     if (canMove && touchCtrl != null)
     {
         touchCtrl.cameraCenter.currentCamera.SetCameraPositionAndXYZCountAllArgs(
             (CameraUniversalCenter.isInMirrorHX?-transform.localPosition.x:transform.localPosition.x).ToString(),
             "",
             transform.localPosition.z.ToString(),
             "",
             "",
             "",
             0.3f
             );
     }
 }