Unity isPlaying code example
Example: application isPlaying unity
using UnityEngine;class Example : MonoBehaviour
{
void Start()
{
if (Application.isPlaying)
{
print("In player or playmode");
}
}
}
using UnityEngine;class Example : MonoBehaviour
{
void Start()
{
if (Application.isPlaying)
{
print("In player or playmode");
}
}
}