// Start is called before the first frame update void Start() { CurrentPositionHotspot = this; AbstractImmersiveCamera.PlaceHotspotsWallTouchEvent.AddListener(ControlHotspot); #if UNITY_EDITOR if (EditorPrefs.HasKey("PlaceHotspotMode") && EditorPrefs.GetBool("PlaceHotspotMode") && hotspotPositionCanvasPrefab != null) { Instantiate(hotspotPositionCanvasPrefab); } #endif }
// Start is called before the first frame update void Start() { positioner = PositionHotspots.CurrentPositionHotspot; }
private void OnEnable() { positionHotspots = (PositionHotspots)target; }