コード例 #1
0
    // Use this for initialization
    void Start()
    {
        this.transform.rotation = Quaternion.Euler(0, 0, 0);

        playerModelScript = (PlayerModelScript)objModelPlayer.GetComponent("PlayerModelScript");
        playerModelScript.setRotation(PlayerModelScript.TURN_RIGHT);
    }
コード例 #2
0
 void Start()
 {
     cresendoText.SetActive(false);
     playerModelScript = player.GetComponent <PlayerModelScript>();
 }