Files
FebGameJam/Assets/Scripts/MoveOnToNextAreaScript.cs
T
2022-02-26 19:43:26 -06:00

20 lines
367 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);
}
}