mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-15 16:48:00 +00:00
36 lines
563 B
C#
36 lines
563 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace SanAndreasUnity.UI {
|
|
|
|
public class WorldStatsWindow : PauseMenuWindow {
|
|
|
|
|
|
WorldStatsWindow() {
|
|
|
|
// set default parameters
|
|
|
|
this.windowName = "World stats";
|
|
this.windowRect = new Rect(10, 10, 250, 330);
|
|
|
|
}
|
|
|
|
void Start () {
|
|
|
|
this.RegisterButtonInPauseMenu ();
|
|
|
|
}
|
|
|
|
|
|
protected override void OnWindowGUI ()
|
|
{
|
|
|
|
if (Behaviours.World.Cell.Instance != null) {
|
|
Behaviours.World.Cell.Instance.showWindow (this.WindowId);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|