mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-26 22:10:17 +00:00
16 lines
426 B
C#
16 lines
426 B
C#
using UnityEngine;
|
|
|
|
namespace SanAndreasUnity.UI
|
|
{
|
|
/// <summary>
|
|
/// This script should have lowest possible script execution order so that the <see cref="Console"/> is subscribed to
|
|
/// log events before any other script executes.
|
|
/// </summary>
|
|
public class ConsoleLogEventSubscriber : MonoBehaviour
|
|
{
|
|
void Awake()
|
|
{
|
|
Console.OnEventSubscriberAwake();
|
|
}
|
|
}
|
|
}
|