stuff less important than the shader

This commit is contained in:
klemek
2020-12-11 00:06:47 +01:00
parent 3e9752dcad
commit cd354b5133
41 changed files with 1618 additions and 437 deletions
+60
View File
@@ -0,0 +1,60 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UntitledLogicGame.Gates;
namespace UntitledLogicGame
{
public class GateSprite : MonoBehaviour
{
#region Unity Properties
#endregion
#region Public Properties
#endregion
#region Private Properties
private Gate _gate;
#endregion
#region Unity Methods
private void Start()
{
_gate = GetComponentInParent<Gate>();
}
// Update is called once per frame
private void Update()
{
}
private void OnMouseEnter()
{
GameManager.Instance.CurrentGate = _gate;
}
private void OnMouseExit()
{
if (_gate.Equals(GameManager.Instance.CurrentGate))
GameManager.Instance.CurrentGate = null;
}
#endregion
#region Public Methods
#endregion
#region Private Methods
#endregion
}
}