コード例 #1
0
ファイル: ShowButton.cs プロジェクト: mathino/Projeto-taj
    // Use this for initialization
    void Start()
    {
        componentActivator = this.gameObject.GetComponent("TriggerFind") as TriggerFind;

        pc = GameObject.Find ("player").GetComponent<PlayerClimb> ();
        wa = GameObject.Find ("avisoCobra").GetComponent<warningActivit> ();
        /*if(flipImage)
            button.transform.Rotate (Vector3.right);*/
    }
コード例 #2
0
    // Use this for initialization
    void Start()
    {
        componentActivator = this.gameObject.GetComponent("TriggerFind") as TriggerFind;

        pc = GameObject.Find("player").GetComponent <PlayerClimb> ();
        wa = GameObject.Find("avisoCobra").GetComponent <warningActivit> ();

        /*if(flipImage)
         *      button.transform.Rotate (Vector3.right);*/
    }
コード例 #3
0
ファイル: PlayerClimb.cs プロジェクト: mathino/Projeto-taj
 // Use this for initialization
 void Start()
 {
     pm = this.GetComponent<Player_Mov>();
     sb = go.GetComponent<warningActivit> ();
     nS = false;
 }
コード例 #4
0
ファイル: PlayerClimb.cs プロジェクト: MtSSouza/Projeto-taj
 // Use this for initialization
 void Start()
 {
     pm = this.GetComponent <Player_Mov>();
     sb = go.GetComponent <warningActivit> ();
     nS = false;
 }