コード例 #1
0
ファイル: Story7_not.cs プロジェクト: ItoTaiga/ItoTaiga
    // Use this for initialization
    void Start()
    {
        Story7 story7 = this.GetComponent <Story7>();

        story7.enabled = false;

        //2秒後に動けるようになるようにする
        Invoke("StoryReMove7", 2.0f);
    }
コード例 #2
0
ファイル: Story7_not.cs プロジェクト: ItoTaiga/ItoTaiga
    void StoryReMove7()
    {
        Story7 story7 = this.GetComponent <Story7>();

        story7.enabled = true;
    }