mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-09-11 08:17:01 +00:00
20 lines
369 B
C#
20 lines
369 B
C#
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);
|
|
}
|
|
|
|
|
|
}
|