TimeLimit機能を使って2つのオブジェクト間の移動時間を計測してみよう。
Table of contents
タイマー機能とは?
ゲームコンポーネントの中にはタイマー機能が3つあります。
Time Limit | 2つのオブジェクト間の時間をカウントダウンで計測する |
Elapsed Time | 2つのオブジェクト間の時間をカウントアップで計測する |
CountDown | 1つのオブジェクトをタッチしてから設定した時間カウントダウンする。 |
TimeLimitとは?
「スタート地点として設定されたオブジェクトA」をタッチしてから、「エンド地点として設定されたオブジェクトB」をタッチするまで、カウントダウンをするゲームコンポーネントです。
Time Limitの設定方法
スタートを設定する
- オブジェクトを選択し、赤丸の場所をクリックします。するとコンポーネント一覧が表示されます。
2. スタートの設定を行いたいオブジェクトを選択し、「Time Limit」をクリックします。

3. Time Limitの設定画面が表示されます。

4. 「Time Start」をクリックします。

5. 制限時間を入力する場所が表示されます。

6. 設定したい制限時間を入力します。

7. 設定は以上です。
エンドを設定する
- オブジェクトを選択し、赤丸の場所をクリックします。するとコンポーネント一覧が表示されます。
2. エンドの設定を行いたいオブジェクトを選択し、「Time Limit」をクリックします。

3. Time Limitの設定画面が表示されます。

4. 「Time End」をクリックします。

5. 設定は以上です。