コード例 #1
0
    // Use this for initialization
    void Start()
    {
        createWorld = GameObject.Find("WorldCreator").GetComponent<CreateWorld2>();

        if (!startGUI)
        {
            //demoMenu.enabled = false;
            StartDemo();
        }

        EventSystem.current.SetSelectedGameObject(startButton.gameObject);
    }
コード例 #2
0
 // Use this for initialization
 void Awake()
 {
     createWorld = this.GetComponent<CreateWorld2>();
 }
コード例 #3
0
 // Use this for initialization
 void Awake()
 {
     createWorld = GameObject.Find("WorldCreator").GetComponent<CreateWorld2>();
 }