示例#1
0
    private void Start()
    {
        player1LoveMeter = LoveMetar.getPlayer1LoveMetar();
        player2LoveMeter = LoveMetar.getPlayer2LoveMetar();
        //string x = "プレイヤー1";
        //x = x.Replace("プレイヤー1", "name1");
        fadeInOut = Sakura.GetComponent <Image>().color.a;
        Text Nametext    = NameTextmanager.GetComponent <Text>();
        Text Commenttext = CommentTextmanager.GetComponent <Text>();

        Nametext.text    = ReplaceTag(Text[0][1]);
        Commenttext.text = ReplaceTag(Text[0][0]);
        sakuraStart();
        Talktext++;
    }
示例#2
0
    //
    void Start()
    {
        Time.timeScale = 1.0f;

        player1LoveMetar = LoveMetar.getPlayer1LoveMetar();
        player2LoveMetar = LoveMetar.getPlayer2LoveMetar();

        for (int i = 0; i <= images.Length - 1; i++)
        {
            images[i].enabled = false;
        }

        //アニメーションが時間の影響受けずに再生されるようにする
        _animator.updateMode = AnimatorUpdateMode.UnscaledTime;
    }