// Use this for initialization void Start() { ep = FindObjectOfType <ExecutePanel>(); controller = FindObjectOfType <ControllerOfChap10>(); treasures = FindObjectOfType <ModeratorOfTreasures>(); sliderComp.value = 0.7f; GetSettings(); // 設定情報の取得 InitRobotPosition(); // ロボットの初期位置設定 SetEnvironment(); // 俯瞰図用カメラ・ライトの位置設定 SetMazeOuterWall(); // 迷路外壁の設定 SetMazeInterWall(); // 迷路内壁の設定 try { TreasuresList = treasures.InitializeAndGetTreasures(); } catch (Exception exception) { Debug.LogError(exception); ApplicationQuitAfter1sec(); } PreProcess(); }
// Use this for initialization void Start() { ep = FindObjectOfType <ExecutePanel>(); controller = FindObjectOfType <ControllerOfChap8>(); GetSettings(); // 設定情報の取得 InitRobotPosition(); // ロボットの初期位置設定 SetEnvironment(); // 俯瞰図用カメラ・ライトの位置設定 SetMazeOuterWall(); // 迷路外壁の設定 SetMazeInterWall(); // 迷路内壁の設定 }