Added UI-UX Demo Scene

-Included Toon Shaders
-Included Movement and Popup Scripts
-Included WallRun Demo
-Added Materials
This commit is contained in:
wheatv3015
2021-09-29 11:36:53 -05:00
parent 52a8d64abb
commit b2bdf4c871
9 changed files with 1564 additions and 1 deletions

View File

@@ -0,0 +1,33 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PopupController : MonoBehaviour
{
public Text Popup;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
private void OnTriggerEnter(Collider other)
{
if( other.tag == "Player")
{
if (Popup.gameObject.activeInHierarchy)
{
Popup.gameObject.SetActive(false);
} else
{
Popup.gameObject.SetActive(true);
}
}
}
}