Aimbot-PPO/Aimbot-PPO-MultiScene/Assets/Script/OnCam.cs

18 lines
331 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OnCam : MonoBehaviour
{
public void OnBecameInvisible()
{
Debug.Log("I SEE U");
}
// ...and enable it again when it becomes visible.
public void OnBecameVisible()
{
Debug.Log("NO Visual");
}
}