// Use this for initialization void Start() { // get reference to the zyme script zymeScript = ((GameObject)Instantiate(zyme)).GetComponent <ZymePopupScript> (); // we immediately start showing the tutorial once instantiated so set to true showTutorial = true; }
// Use this for initialization void Start() { zymeScript = ((GameObject)Instantiate(zyme)).GetComponent <ZymePopupScript> (); }
private Color Fats1Color = new Color(37f / 255f, 97f / 255f, 139f / 255f, 1); //!< create a new color for the Fats1 Particles // Use this for initialization void Start() { zymeScript = ((GameObject)Instantiate(zyme)).GetComponent <ZymePopupScript> (); // get a reference to the intestine game manager currently being used gameManager = GameObject.Find("Managers").GetComponent <IntestineGameManager>(); }
// Use this for initialization void Start() { intestineGameManager = FindObjectOfType(typeof(IntestineGameManager)) as IntestineGameManager; zymeScript = ((GameObject)Instantiate(zyme)).GetComponent <ZymePopupScript> (); }