using System.Collections; using UnityEngine; public class DebugSmartphoneActiveScale : MonoBehaviour { public GameObject smartphone; void Start() { StartCoroutine(DelayedDebugSmartphoneActiveScale()); } IEnumerator DelayedDebugSmartphoneActiveScale() { yield return new WaitForSeconds(1f); // wait 1 second smartphone.SetActive(true); smartphone.transform.localScale = new Vector3(1, 1, 1); } }