Files
PhotonViewDumper/GameObject.cs
2026-04-06 21:08:06 -04:00

20 lines
394 B
C#

using System;
using UnityEngine;
namespace PhotonViewDumper
{
internal class GameObject : MonoBehaviour
{
void Update()
{
try
{
if (Input.GetKeyDown(KeyCode.F6)) Plugin.Dump();
} catch (Exception ex)
{
Plugin.Log.LogError($"Failed to dump views: {ex}");
}
}
}
}