예제 #1
0
 // 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;
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     zymeScript = ((GameObject)Instantiate(zyme)).GetComponent <ZymePopupScript> ();
 }
예제 #3
0
    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>();
    }
예제 #4
0
 // Use this for initialization
 void Start()
 {
     intestineGameManager = FindObjectOfType(typeof(IntestineGameManager)) as IntestineGameManager;
     zymeScript           = ((GameObject)Instantiate(zyme)).GetComponent <ZymePopupScript> ();
 }