using ARLocation; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Test : MonoBehaviour { public void Clickk() { this.gameObject.GetComponent().PlaybackSettings.AutoPlay = true; this.gameObject.GetComponent().enabled=true; } }