using UnityEngine; /// /// Create a WA instance into the scene based on a type /// public class WorldAnalysisInstance : MonoBehaviour { /// /// Types of World Analysis to Use /// public WorldAnalysisFactory.WorldAnalysisType _WorldAnalysisType; /// /// The token to use for the REST request /// static public string token = "dev"; /// /// The sessionID to use for the REST request /// static public string sessionID = "ARF-STF669"; // Start is called before the first frame update protected void Awake() { if (_WorldAnalysisType != WorldAnalysisFactory.WorldAnalysisType.MANUAL) WorldAnalysisFactory.CreateWorldAnalysis(_WorldAnalysisType, this.gameObject); } }