Open JammieDodgers opened 7 years ago
using UnityEngine; using System.Collections;
public class Highlight : Interaction {
public GameObject DisplayItem;
public override void Deselect ()
{
DisplayItem.SetActive (false);
}
public override void Select ()
{
DisplayItem.SetActive (true);
}
// Use this for initialization
void Start () {
DisplayItem.SetActive (false);
}
}
using UnityEngine; using System.Collections;
public abstract class Interaction : MonoBehaviour {
public abstract void Select();
public abstract void Deselect();
}
using UnityEngine; using System.Collections;
public class Interactive : MonoBehaviour {
}