コード例 #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
ファイル: FatsTutorial.cs プロジェクト: richardshi/mdp
    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> ();
 }