/// <summary> /// Initialises this class /// </summary> private void Awake() { // Allows this instance to behave like a singleton Instance = this; // Add the ImageCapture Class to this Game Object gameObject.AddComponent <ImageCapture>(); // Create the text label in the scene CreateLabel(); //Set everyone's profiles to false Andrew = GameObject.Find("Andrew Chang"); Andrew.SetActive(false); Tanmoy = GameObject.Find("Tanmoy Panigrahi"); Tanmoy.SetActive(false); Jon = GameObject.Find("Jon Womack"); Jon.SetActive(false); modelA = GameObject.Find("Model2_0"); modelA.SetActive(false); modelT = GameObject.Find("model3_0"); modelT.SetActive(false); modelJ = GameObject.Find("model4_0"); modelJ.SetActive(false); //star = GameObject.Find("Star Generator Crazy 1"); //star.SetActive(false); }
/// <summary> /// Initialises this class /// </summary> private void Awake() { // Allows this instance to behave like a singleton Instance = this; // Add the ImageCapture Class to this Game Object gameObject.AddComponent <ImageCapture>(); Instantiate(TipsPanel, new Vector3(0, 0, 0), new Quaternion(0, 0, 1.6f, 0)); }
//public Text tempText; /// <summary> /// Initialises this class /// </summary> private void Awake() { // Allows this instance to behave like a singleton Instance = this; // Add the ImageCapture Class to this Game Object //gameObject.AddComponent<ImageCapture>(); // Create the text label in the scene //CreateLabel(); }
private const string personGroupId = "01"; /// Id (name) of the created person group private void Awake() /// Initialises this class { Instance = this; // Allows this instance to behave like a singleton gameObject.AddComponent <ImageCapture>(); // Add the ImageCapture Class to this Game Object CreateLabel(); // Create the text label in the scene }