コード例 #1
0
ファイル: cut1loctrigger.cs プロジェクト: 0FruitCake/Thesis1
    private void OnTriggerEnter2D(Collider2D other)
    {
        if (other.gameObject.tag == "Companion")
        {
            cut.istriggered = false;
            Debug.Log("in");
            theCompanion.incutscene = false;

            theCompanion.hasWalkZone = true;
            theCompanion.canMove     = true;
            theCompanion.ChooseDirection();
            transform.gameObject.SetActive(false);
        }
    }