mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-01-06 09:28:43 +00:00
17 lines
426 B
C#
17 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();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|