What do you want to save?
Add Code snippet
New code examples
-
C# 2021-09-28 13:58:02
how to make a door open in unity
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DoorTrigger : MonoBehaviour { [SerializeField] GameObject door; bool isOpened = false; void OnTriggerEnter(Collider col) { if (!isOpened) { isOpened = true... Add solution