エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
コライダーの範囲内か範囲外なのかを取得して動画を再生させる - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
コライダーの範囲内か範囲外なのかを取得して動画を再生させる - Qiita
using UnityEngine; using System.Collections; public class TestTriggerMovie : MonoBehaviour { //se... using UnityEngine; using System.Collections; public class TestTriggerMovie : MonoBehaviour { //settings public GameObject _trigger; public GameObject _target; //objects private Bounds TriggerBounds; void Start () { TriggerBounds = _trigger.transform.collider.bounds; _target = this.transform.FindChild("Plane").gameObject; } void Update () { this.transform.position += new Vector3(0, 0, 1); Vector3 p

