Added a Move onto next area in crowds :) 👍

read title.
This commit is contained in:
Unknown committed 2022-02-26 19:43:26 -06:00
1 parent 11a2af2f5f
commit 8c084b2e01
5 files changed
+70 -100

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoveOnToNextAreaScript : Trigger
{
GameObject instance;
bool isTrigger = false;
public BoxCollider2D box;
public override void Action()
{
isTrigger = true;
box.isTrigger = true;
Debug.Log(isTrigger);
}
}