Beispiel #1
0
        /// <summary>
        /// 検出
        /// </summary>
        private void OnDetect(DetectableObject2D obj)
        {
            Debug.Log("OnDetect : " + obj);
            //ターゲッティングの優先順位の更新

            //カメラサイズの変更
            if (cameraSize)
            {
                cameraSize.SetCameraSize(detector.GetDetectCount() * 1f + 20f);
            }

            //仮
            target      = obj;
            targetTrans = obj.transform;
            wManager.Activate();
        }