コード例 #1
0
ファイル: rect.cs プロジェクト: markprojects/gitProjects
 /**************************************************************************************
 **************************************************************************************/
 void Start()
 {
     configDelegateFunctions();
     mCtrl = new mouseControl(this.gameObject);
     if (parent != null)
     {
         parent.GetComponent <rect>().connectChild(this);
     }
 }
コード例 #2
0
ファイル: CameraControl.cs プロジェクト: jaumefc/pretigawa
    // Use this for initialization
    void Start()
    {
        cCamera1 = GameObject.Find ("Player").GetComponentInChildren<Camera> ();
        MCScript = GameObject.Find("Player").GetComponent<mouseControl>();
        //cCamera2 = GameObject.Find ("Camera2").camera;
        cCameraDialog = GameObject.Find ("DialogCamera").camera;

        DCScript = GameObject.Find ("DialogLayout").GetComponent<DialogCameraScript>();
        DCTexture = GameObject.Find ("DialogLayout").guiTexture;
        DCTexture.enabled = false;

        cCamera1.enabled = false;
        //cCamera2.enabled = false;
        cCameraDialog.enabled = false;
        DCScript.enabled = false;
        stateIn = false;
    }
コード例 #3
0
ファイル: CameraControl.cs プロジェクト: jaumefc/pretigawa
    // Use this for initialization
    void Start()
    {
        cCamera1 = GameObject.Find("Player").GetComponentInChildren <Camera> ();
        MCScript = GameObject.Find("Player").GetComponent <mouseControl>();
        //cCamera2 = GameObject.Find ("Camera2").camera;
        cCameraDialog = GameObject.Find("DialogCamera").camera;

        DCScript          = GameObject.Find("DialogLayout").GetComponent <DialogCameraScript>();
        DCTexture         = GameObject.Find("DialogLayout").guiTexture;
        DCTexture.enabled = false;


        cCamera1.enabled = false;
        //cCamera2.enabled = false;
        cCameraDialog.enabled = false;
        DCScript.enabled      = false;
        stateIn = false;
    }
コード例 #4
0
ファイル: DialogAction.cs プロジェクト: jaumefc/pretigawa
 // Use this for initialization
 void Start()
 {
     //CCScript = GameObject.Find("CameraControl").GetComponent<CameraControl>();
     DCScript = GameObject.Find("DialogLayout").GetComponent <DialogCameraScript>();
     MCScript = GameObject.Find("Player").GetComponent <mouseControl> ();
 }
コード例 #5
0
ファイル: DialogAction.cs プロジェクト: jaumefc/pretigawa
 // Use this for initialization
 void Start()
 {
     //CCScript = GameObject.Find("CameraControl").GetComponent<CameraControl>();
     DCScript = GameObject.Find ("DialogLayout").GetComponent<DialogCameraScript>();
     MCScript = GameObject.Find ("Player").GetComponent<mouseControl> ();
 }