Gave an exit animation to windows
This commit is contained in:
@@ -4,7 +4,7 @@ namespace InterfaceOff
|
||||
{
|
||||
public class BasicWindow : WindowBase
|
||||
{
|
||||
public override void OnWindowInstantiation()
|
||||
protected override void OnWindowInstantiation()
|
||||
{
|
||||
/* Adds a random advert to the display */
|
||||
Advert advert = AdvertRegistry.GetRandomAdvert();
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace InterfaceOff
|
||||
|
||||
private int m_TilesRotatedCorrectly;
|
||||
|
||||
public override void OnWindowInstantiation()
|
||||
protected override void OnWindowInstantiation()
|
||||
{
|
||||
/* Lets the player know what to do via text */
|
||||
Components.InfoText.text = "Rotate";
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace InterfaceOff
|
||||
{
|
||||
public class MovingWindow : WindowBase
|
||||
{
|
||||
public override void OnWindowInstantiation()
|
||||
protected override void OnWindowInstantiation()
|
||||
{
|
||||
/* Adds a random advert to the display */
|
||||
Advert advert = AdvertRegistry.GetRandomAdvert();
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace InterfaceOff
|
||||
Trivia = JsonUtility.FromJson<TriviaSet>(json);
|
||||
}
|
||||
|
||||
public override void OnWindowInstantiation()
|
||||
protected override void OnWindowInstantiation()
|
||||
{
|
||||
/* Fetches a random question and sets it as the title */
|
||||
TriviaQuestion question = Trivia.questions[Random.Range(0, Trivia.questions.Length)];
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace InterfaceOff
|
||||
private int m_Health = int.MaxValue;
|
||||
private bool m_SpawnOnRight;
|
||||
|
||||
public override void OnWindowInstantiation()
|
||||
protected override void OnWindowInstantiation()
|
||||
{
|
||||
/* Adds a random advert to the display */
|
||||
Advert advert = AdvertRegistry.GetRandomAdvert();
|
||||
|
||||
Reference in New Issue
Block a user