Initial commit
This commit is contained in:
19
GameObject.cs
Normal file
19
GameObject.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user