예제 #1
0
 private void OnDestroy()
 {
     EventBroadcaster.Instance.RemoveObserver(EventNames.VideoAREvents.ON_VIDEO_DISJOINTED);
     EventBroadcaster.Instance.RemoveObserver(EventNames.VideoAREvents.ON_VIDEO_ANCHORED);
     sharedInstance = null;
 }
예제 #2
0
 private void Awake()
 {
     sharedInstance = this;
 }