Files
FebGameJam/Assets/Scripts/MoveOnToNextAreaScript.cs
T
Unknown dcc8607ae4 Remember to Like, Comment, and Subscribe
this has the dark finish level in it that can be used 👍
2022-02-27 00:07:10 -06:00

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);
}
}