コード例 #1
0
ファイル: PauseTest.cs プロジェクト: bservice/TrialByInn
 // Start is called before the first frame update
 void Start()
 {
     paused     = false;
     pauseMenu  = Instantiate(pauseMenu, new Vector3(100.0f, 100.0f), Quaternion.identity);
     playButton = Instantiate(playButton, new Vector3(100.0f, 100.0f), Quaternion.identity);
     exitButton = Instantiate(exitButton, new Vector3(100.0f, 100.0f), Quaternion.identity);
 }
コード例 #2
0
ファイル: SaveData.cs プロジェクト: ksurja2/Windows-Cup-Catch
    void Awake()
    {
        breaktime = false;

        _floorData = GameObject.Find("Floor").GetComponent <MissedBall>();
        _goalData  = GameObject.Find("Goal").GetComponent <BallInGoal>();

        _pauseStatus = GameObject.Find("Main Camera").GetComponent <PausePlay>();

        string m_Path = Application.dataPath;
    }