mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-10-11 18:19:11 +00:00
Added a Move onto next area in crowds :) 👍
read title.
This commit is contained in:
1 parent
11a2af2f5f
commit
8c084b2e01
5 files changed
+70
-100
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user