ObjectManagerWindow.cs 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. using System;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using wf;
  5. public class ObjectManagerWindow : BaseMaidPhotoWindow
  6. {
  7. public override void Awake()
  8. {
  9. base.Awake();
  10. this.camera_move_support_ = base.gameObject.AddComponent<WfCameraMoveSupport>();
  11. this.scroll_view_ = NGUITools.FindInParents<UIScrollView>(this.Grid.transform);
  12. EventDelegate.Add(this.CameraFocusButton.onClick, new EventDelegate.Callback(this.OnClickCameraFocus));
  13. this.VisibleCheckButton.onClick.Add(delegate(WFCheckBox check_box)
  14. {
  15. if (this.select_trans_target_ != null && this.select_trans_target_.obj != null)
  16. {
  17. this.select_trans_target_.obj.SetActive(check_box.check);
  18. }
  19. });
  20. EventDelegate.Add(this.RemoveButton.onClick, delegate
  21. {
  22. if (this.select_trans_target_.obj == null || this.select_trans_target_.type == PhotoTransTargetObject.Type.BG)
  23. {
  24. return;
  25. }
  26. this.createBgObjectWindow.RemoveObject(this.select_trans_target_.obj);
  27. });
  28. this.CheckCreateWindowVisible.onClick.Add(delegate(WFCheckBox check_box)
  29. {
  30. this.createBgObjectWindow.visible = check_box.check;
  31. if (check_box.check)
  32. {
  33. this.CheckAttacWindowVisible.check = false;
  34. this.AttachPointWindow.visible = false;
  35. }
  36. });
  37. this.createBgObjectWindow.GetButtonOnClickEventList(BasePhotoSubWindow.BtnType.End).Add(delegate
  38. {
  39. this.CheckCreateWindowVisible.check = false;
  40. foreach (Action<WFCheckBox> action in this.CheckCreateWindowVisible.onClick)
  41. {
  42. action(this.CheckCreateWindowVisible);
  43. }
  44. });
  45. this.createBgObjectWindow.SetButtonEnabled(BasePhotoSubWindow.BtnType.End, true, false);
  46. this.AttachPointWindow.onStateTextChangeEvent = delegate(string text)
  47. {
  48. this.AttachPointStateLabel.text = text;
  49. };
  50. this.AttachPointWindow.gameObject.SetActive(true);
  51. WFCheckBox checkAttacWindowVisible = this.CheckAttacWindowVisible;
  52. bool flag = false;
  53. this.CheckAttacWindowVisible.enabled = flag;
  54. checkAttacWindowVisible.check = flag;
  55. this.AttachPointWindow.SetButtonEnabled(BasePhotoSubWindow.BtnType.End, true, false);
  56. this.AttachPointWindow.GetButtonOnClickEventList(BasePhotoSubWindow.BtnType.End).Add(delegate
  57. {
  58. this.CheckAttacWindowVisible.check = false;
  59. foreach (Action<WFCheckBox> action in this.CheckAttacWindowVisible.onClick)
  60. {
  61. action(this.CheckAttacWindowVisible);
  62. }
  63. });
  64. this.CheckAttacWindowVisible.onClick.Add(delegate(WFCheckBox check_box)
  65. {
  66. this.AttachPointWindow.visible = check_box.check;
  67. if (check_box.check)
  68. {
  69. this.CheckCreateWindowVisible.check = false;
  70. this.createBgObjectWindow.visible = false;
  71. }
  72. });
  73. this.PartsTransForm.onChangeAxisVisibleType.Add(new Action(this.OnChangeAxisVisibleType));
  74. this.target_list_.Add(new PhotoTransTargetObject(null, "選択なし", PhotoTransTargetObject.Type.Maid, Vector2.zero));
  75. this.CreateTabButton(this.Grid.gameObject, this.target_list_[0]);
  76. this.TabPanel.UpdateChildren();
  77. this.TabPanel.Select(this.Grid.GetChild(0).gameObject.GetComponent<UIWFTabButton>());
  78. this.Grid.sorting = UIGrid.Sorting.Vertical;
  79. Utility.ResetNGUI(this.Grid);
  80. Utility.ResetNGUI(this.scroll_view_);
  81. this.UpdateChildren();
  82. }
  83. public override void Start()
  84. {
  85. base.Start();
  86. this.AttachPointWindow.gameObject.SetActive(false);
  87. }
  88. public new void Update()
  89. {
  90. if (Input.GetKeyDown(KeyCode.F3))
  91. {
  92. this.PartsTransForm.NextAxis();
  93. }
  94. if (Input.GetKeyDown(KeyCode.F4) && this.CameraFocusButton.isEnabled)
  95. {
  96. this.OnClickCameraFocus();
  97. }
  98. }
  99. public void OnSelectItem(PhotoTransTargetObject select)
  100. {
  101. this.select_trans_target_ = select;
  102. if (select == null)
  103. {
  104. return;
  105. }
  106. if (select.obj == null || select.type == PhotoTransTargetObject.Type.BG)
  107. {
  108. this.RemoveButton.gameObject.SetActive(false);
  109. this.AttachPointWindow.gameObject.SetActive(false);
  110. WFCheckBox checkAttacWindowVisible = this.CheckAttacWindowVisible;
  111. bool flag = false;
  112. this.CheckAttacWindowVisible.visible = flag;
  113. flag = flag;
  114. this.CheckAttacWindowVisible.check = flag;
  115. checkAttacWindowVisible.enabled = flag;
  116. this.AttachPointStateLabel.text = "設定不可";
  117. }
  118. else
  119. {
  120. this.RemoveButton.gameObject.SetActive(true);
  121. this.AttachPointWindow.gameObject.SetActive(true);
  122. this.CheckAttacWindowVisible.enabled = (this.AttachPointWindow.activeMaidListCount != 0);
  123. this.CheckAttacWindowVisible.visible = true;
  124. this.CheckAttacWindowVisible.check = this.AttachPointWindow.visible;
  125. foreach (Action<WFCheckBox> action in this.CheckAttacWindowVisible.onClick)
  126. {
  127. action(this.CheckAttacWindowVisible);
  128. }
  129. }
  130. if (select != null && select.obj != null && select.axis_obj != null && select.rotate_obj != null)
  131. {
  132. select.axis_obj.Visible = (select.rotate_obj.Visible = false);
  133. }
  134. if (select.obj != null)
  135. {
  136. UIButtonColor cameraFocusButton = this.CameraFocusButton;
  137. bool flag = true;
  138. this.VisibleCheckButton.enabled = flag;
  139. cameraFocusButton.isEnabled = flag;
  140. this.VisibleCheckButton.check = select.obj.activeSelf;
  141. if (select.type == PhotoTransTargetObject.Type.BG)
  142. {
  143. this.VisibleCheckButton.visible = false;
  144. }
  145. else
  146. {
  147. this.VisibleCheckButton.visible = true;
  148. }
  149. }
  150. else
  151. {
  152. this.VisibleCheckButton.visible = false;
  153. UIButtonColor cameraFocusButton2 = this.CameraFocusButton;
  154. bool flag = false;
  155. this.VisibleCheckButton.check = flag;
  156. flag = flag;
  157. this.VisibleCheckButton.enabled = flag;
  158. cameraFocusButton2.isEnabled = flag;
  159. }
  160. this.PartsTransForm.SetObject(select.obj, Vector3.zero, Vector3.zero, Vector3.one);
  161. this.OnChangeAxisVisibleType();
  162. this.AttachPointWindow.OnSelectItem(select);
  163. }
  164. public override void OnMaidAddEvent(Maid maid, bool is_deserialize_load)
  165. {
  166. if (is_deserialize_load)
  167. {
  168. foreach (PhotoTransTargetObject photoTransTargetObject in this.target_list_)
  169. {
  170. if (!string.IsNullOrEmpty(photoTransTargetObject.attach_maid_guid) && !(photoTransTargetObject.attach_maid_guid != maid.status.guid))
  171. {
  172. Transform transform = photoTransTargetObject.obj.transform;
  173. Vector3 position = transform.position;
  174. Quaternion rotation = transform.rotation;
  175. photoTransTargetObject.Attach(photoTransTargetObject.attachi_point, false, maid);
  176. transform.localPosition = photoTransTargetObject.attachi_local_pos;
  177. transform.localRotation = photoTransTargetObject.attachi_local_rotate;
  178. }
  179. }
  180. }
  181. this.AttachPointWindow.OnMaidAddEvent(maid, is_deserialize_load);
  182. if (this.CheckAttacWindowVisible.visible)
  183. {
  184. this.CheckAttacWindowVisible.enabled = (this.AttachPointWindow.activeMaidListCount != 0);
  185. }
  186. }
  187. public override void OnMaidRemoveEventPrev(Maid maid)
  188. {
  189. List<GameObject> list = new List<GameObject>();
  190. foreach (PhotoTransTargetObject photoTransTargetObject in this.target_list_)
  191. {
  192. if (photoTransTargetObject.attachi_point != PhotoTransTargetObject.AttachPoint.Null && photoTransTargetObject.attach_maid_guid == maid.status.guid)
  193. {
  194. list.Add(photoTransTargetObject.obj);
  195. }
  196. }
  197. for (int i = 0; i < list.Count; i++)
  198. {
  199. this.createBgObjectWindow.RemoveObject(list[i]);
  200. }
  201. this.AttachPointWindow.OnMaidRemoveEventPrev(maid);
  202. if (this.AttachPointWindow.activeMaidList.Count <= 0)
  203. {
  204. this.CheckAttacWindowVisible.check = false;
  205. foreach (Action<WFCheckBox> action in this.CheckAttacWindowVisible.onClick)
  206. {
  207. action(this.CheckAttacWindowVisible);
  208. }
  209. }
  210. if (this.CheckAttacWindowVisible.visible)
  211. {
  212. this.CheckAttacWindowVisible.enabled = (this.AttachPointWindow.activeMaidListCount != 0);
  213. }
  214. }
  215. public PhotoTransTargetObject AddTransTargetObject(GameObject target_obj, string draw_name, PhotoTransTargetObject.Type type)
  216. {
  217. if (target_obj == null)
  218. {
  219. return null;
  220. }
  221. PhotoTransTargetObject photoTransTargetObject = new PhotoTransTargetObject(target_obj, draw_name, type, new Vector2(this.PartsTransForm.ScaleInput.SliderMin, this.PartsTransForm.ScaleInput.SliderMax));
  222. if (GameMain.Instance.VRMode && type != PhotoTransTargetObject.Type.BG)
  223. {
  224. MeshRenderer componentInChildren = photoTransTargetObject.axis_obj.GetComponentInChildren<MeshRenderer>();
  225. if (componentInChildren != null)
  226. {
  227. componentInChildren.enabled = false;
  228. }
  229. BoxCollider[] componentsInChildren = photoTransTargetObject.axis_obj.GetComponentsInChildren<BoxCollider>();
  230. foreach (BoxCollider boxCollider in componentsInChildren)
  231. {
  232. boxCollider.enabled = false;
  233. }
  234. }
  235. this.target_list_.Add(photoTransTargetObject);
  236. this.target_list_.Sort();
  237. UIWFTabButton uiwftabButton = this.CreateTabButton(this.Grid.gameObject, photoTransTargetObject);
  238. UIEventTrigger[] componentsInChildren2 = uiwftabButton.gameObject.GetComponentsInChildren<UIEventTrigger>();
  239. List<EventDelegate> onPress = this.Grid.GetChild(0).GetComponent<UIEventTrigger>().onPress;
  240. for (int j = 0; j < componentsInChildren2.Length; j++)
  241. {
  242. componentsInChildren2[j].onPress = onPress;
  243. }
  244. Dictionary<string, Transform> dictionary = new Dictionary<string, Transform>();
  245. List<Transform> childList = this.Grid.GetChildList();
  246. for (int k = 0; k < childList.Count; k++)
  247. {
  248. dictionary.Add(childList[k].name, childList[k].transform);
  249. }
  250. for (int l = 0; l < this.target_list_.Count; l++)
  251. {
  252. if (dictionary.ContainsKey(this.target_list_[l].guid))
  253. {
  254. dictionary[this.target_list_[l].guid].localPosition = new Vector3(0f, (float)(l * 10), 0f);
  255. }
  256. }
  257. this.TabPanel.UpdateChildren();
  258. this.Grid.Reposition();
  259. this.scroll_view_.UpdatePosition();
  260. if (this.change_bg_ && type == PhotoTransTargetObject.Type.BG)
  261. {
  262. this.TabPanel.Select(uiwftabButton);
  263. this.change_bg_ = false;
  264. }
  265. return photoTransTargetObject;
  266. }
  267. public void RemoveTransTargetObject(GameObject target_obj)
  268. {
  269. if (target_obj == null)
  270. {
  271. return;
  272. }
  273. bool flag = false;
  274. this.change_bg_ = false;
  275. UIWFTabButton selectButtonObject = this.TabPanel.GetSelectButtonObject();
  276. string text = string.Empty;
  277. for (int i = 0; i < this.target_list_.Count; i++)
  278. {
  279. if (this.target_list_[i].obj == target_obj)
  280. {
  281. flag = (this.target_list_[i].type == PhotoTransTargetObject.Type.BG);
  282. if (flag && selectButtonObject != null && this.target_list_[i].guid == selectButtonObject.name)
  283. {
  284. this.change_bg_ = true;
  285. }
  286. text = this.target_list_[i].guid;
  287. this.target_list_[i].Delete();
  288. this.target_list_.RemoveAt(i);
  289. break;
  290. }
  291. }
  292. if (!string.IsNullOrEmpty(text))
  293. {
  294. if (selectButtonObject != null && selectButtonObject.name == text)
  295. {
  296. List<Transform> childList = this.Grid.GetChildList();
  297. for (int j = 0; j < childList.Count; j++)
  298. {
  299. if (childList[j].name == text)
  300. {
  301. if (j + 1 < childList.Count)
  302. {
  303. this.TabPanel.Select(this.Grid.GetChild(j + 1).gameObject.GetComponent<UIWFTabButton>());
  304. }
  305. else
  306. {
  307. this.TabPanel.Select(this.Grid.GetChild(j - 1).gameObject.GetComponent<UIWFTabButton>());
  308. }
  309. break;
  310. }
  311. }
  312. }
  313. List<Transform> childList2 = this.Grid.GetChildList();
  314. for (int k = 0; k < childList2.Count; k++)
  315. {
  316. if (childList2[k].gameObject.name == text)
  317. {
  318. childList2[k].gameObject.transform.SetParent(null, false);
  319. UnityEngine.Object.Destroy(childList2[k].gameObject);
  320. }
  321. }
  322. int num = 12;
  323. if (flag)
  324. {
  325. num--;
  326. }
  327. Utility.ResetNGUI(this.Grid);
  328. if (this.Grid.GetChildList().Count <= num)
  329. {
  330. Utility.ResetNGUI(this.scroll_view_);
  331. }
  332. else
  333. {
  334. this.scroll_view_.UpdatePosition();
  335. this.scroll_view_.UpdateScrollbars();
  336. }
  337. this.TabPanel.UpdateChildren();
  338. }
  339. }
  340. protected void OnChangeAxisVisibleType()
  341. {
  342. WindowPartsTransform.AxisVisibleType axis_visible_type = this.PartsTransForm.axis_visible_type;
  343. for (int i = 0; i < this.target_list_.Count; i++)
  344. {
  345. PhotoTransTargetObject photoTransTargetObject = this.target_list_[i];
  346. if (photoTransTargetObject != null && !(photoTransTargetObject.obj == null))
  347. {
  348. if (axis_visible_type == WindowPartsTransform.AxisVisibleType.UnVisible || photoTransTargetObject == null || photoTransTargetObject.obj == null || photoTransTargetObject != this.select_trans_target_)
  349. {
  350. if (photoTransTargetObject.axis_obj != null)
  351. {
  352. photoTransTargetObject.axis_obj.Visible = false;
  353. }
  354. if (photoTransTargetObject.rotate_obj != null)
  355. {
  356. photoTransTargetObject.rotate_obj.Visible = false;
  357. }
  358. }
  359. else if (axis_visible_type == WindowPartsTransform.AxisVisibleType.Position)
  360. {
  361. if (photoTransTargetObject.axis_obj != null)
  362. {
  363. photoTransTargetObject.axis_obj.Visible = true;
  364. }
  365. if (photoTransTargetObject.rotate_obj != null)
  366. {
  367. photoTransTargetObject.rotate_obj.Visible = false;
  368. }
  369. }
  370. else if (axis_visible_type == WindowPartsTransform.AxisVisibleType.Rotate)
  371. {
  372. if (photoTransTargetObject.axis_obj != null)
  373. {
  374. photoTransTargetObject.axis_obj.Visible = false;
  375. }
  376. if (photoTransTargetObject.rotate_obj != null)
  377. {
  378. photoTransTargetObject.rotate_obj.Visible = true;
  379. }
  380. }
  381. }
  382. }
  383. }
  384. public void OnClickCameraFocus()
  385. {
  386. if (this.select_trans_target_ == null || this.select_trans_target_.obj == null)
  387. {
  388. return;
  389. }
  390. Vector3 position = this.select_trans_target_.obj.transform.position;
  391. float distance = 4f;
  392. Vector2 aroundAngle = new Vector2(-180f, 4.7f);
  393. this.camera_move_support_.StartCameraPosition(position, distance, aroundAngle);
  394. }
  395. private UIWFTabButton CreateTabButton(GameObject parent_obj, PhotoTransTargetObject target)
  396. {
  397. GameObject gameObject = Utility.CreatePrefab(parent_obj, "ScenePhotoMode/WindowListItem", true);
  398. gameObject.name = target.guid.ToString();
  399. gameObject.GetComponentInChildren<UILabel>().text = target.draw_name;
  400. UIWFTabButton component = gameObject.GetComponent<UIWFTabButton>();
  401. EventDelegate.Add(component.onSelect, delegate
  402. {
  403. if (!UIWFSelectButton.current.isSelected)
  404. {
  405. return;
  406. }
  407. for (int i = 0; i < this.target_list_.Count; i++)
  408. {
  409. if (this.target_list_[i].guid == UIWFSelectButton.current.name)
  410. {
  411. this.OnSelectItem(this.target_list_[i]);
  412. break;
  413. }
  414. }
  415. });
  416. return component;
  417. }
  418. public override void OnSerializeEvent()
  419. {
  420. Dictionary<string, Dictionary<string, string>> woldStoreData = base.GetWoldStoreData();
  421. woldStoreData.Clear();
  422. this.createBgObjectWindow.OnSerializeEvent(ref woldStoreData);
  423. foreach (PhotoTransTargetObject photoTransTargetObject in this.target_list_)
  424. {
  425. if (!(photoTransTargetObject.obj == null) && photoTransTargetObject.type != PhotoTransTargetObject.Type.BG)
  426. {
  427. Dictionary<string, string> dictionary = woldStoreData[photoTransTargetObject.obj.name];
  428. dictionary["attachi_point"] = photoTransTargetObject.attachi_point.ToString();
  429. dictionary["attachi_maid_guid"] = photoTransTargetObject.attach_maid_guid.ToString();
  430. dictionary["attachi_local_pos"] = photoTransTargetObject.obj.transform.localPosition.ToString("G9");
  431. dictionary["attachi_local_rotation"] = photoTransTargetObject.obj.transform.localRotation.ToString("G9");
  432. }
  433. }
  434. }
  435. public override void OnDeserializeEvent()
  436. {
  437. Dictionary<string, Dictionary<string, string>> woldStoreData = base.GetWoldStoreData();
  438. List<string> list = new List<string>();
  439. foreach (KeyValuePair<string, Dictionary<string, string>> keyValuePair in woldStoreData)
  440. {
  441. string key = keyValuePair.Key;
  442. Dictionary<string, string> value = keyValuePair.Value;
  443. string text = value["attachi_maid_guid"];
  444. if (!string.IsNullOrEmpty(text))
  445. {
  446. if (!PhotoWindowManager.maidGuidReplaceDic.ContainsKey(text))
  447. {
  448. value["attachi_maid_guid"] = text;
  449. }
  450. else if (string.IsNullOrEmpty(PhotoWindowManager.maidGuidReplaceDic[text]))
  451. {
  452. list.Add(key);
  453. }
  454. else
  455. {
  456. value["attachi_maid_guid"] = PhotoWindowManager.maidGuidReplaceDic[text];
  457. }
  458. }
  459. }
  460. foreach (string key2 in list)
  461. {
  462. woldStoreData.Remove(key2);
  463. }
  464. this.createBgObjectWindow.OnDeserializeEvent(ref woldStoreData);
  465. foreach (KeyValuePair<string, Dictionary<string, string>> keyValuePair2 in woldStoreData)
  466. {
  467. string key3 = keyValuePair2.Key;
  468. Dictionary<string, string> value2 = keyValuePair2.Value;
  469. string text2 = value2["attachi_maid_guid"];
  470. PhotoTransTargetObject.AttachPoint attachi_point = (PhotoTransTargetObject.AttachPoint)Enum.Parse(typeof(PhotoTransTargetObject.AttachPoint), value2["attachi_point"]);
  471. Vector3 attachi_local_pos = Parse.Vector3(value2["attachi_local_pos"]);
  472. Quaternion attachi_local_rotate = Parse.Quaternion(value2["attachi_local_rotation"]);
  473. if (!string.IsNullOrEmpty(text2))
  474. {
  475. for (int i = 0; i < this.target_list_.Count; i++)
  476. {
  477. if (this.target_list_[i].obj != null && this.target_list_[i].obj.name == key3)
  478. {
  479. this.target_list_[i].attach_maid_guid = text2;
  480. this.target_list_[i].attachi_point = attachi_point;
  481. this.target_list_[i].attachi_local_pos = attachi_local_pos;
  482. this.target_list_[i].attachi_local_rotate = attachi_local_rotate;
  483. break;
  484. }
  485. }
  486. }
  487. }
  488. this.TabPanel.Select(this.Grid.GetChild(0).gameObject.GetComponent<UIWFTabButton>());
  489. this.Grid.Reposition();
  490. this.scroll_view_.ResetPosition();
  491. }
  492. public override KeyValuePair<string, Dictionary<string, string>> Serialize()
  493. {
  494. KeyValuePair<string, Dictionary<string, string>> result = base.Serialize();
  495. Dictionary<string, string> value = result.Value;
  496. this.AttachPointWindow.Serialize(ref value);
  497. result = new KeyValuePair<string, Dictionary<string, string>>(result.Key, value);
  498. return result;
  499. }
  500. public override void Deserialize(Dictionary<string, Dictionary<string, string>> data)
  501. {
  502. base.Deserialize(data);
  503. string key = base.gameObject.name + "title";
  504. if (!data.ContainsKey(key))
  505. {
  506. return;
  507. }
  508. Dictionary<string, string> deserializeData = data[key];
  509. this.AttachPointWindow.Deserialize(deserializeData);
  510. this.CheckCreateWindowVisible.check = this.createBgObjectWindow.visible;
  511. }
  512. public WFCheckBox CheckCreateWindowVisible;
  513. public CreateBGObjectSubWindow createBgObjectWindow;
  514. public WFCheckBox CheckAttacWindowVisible;
  515. public AttachPointSubWindow AttachPointWindow;
  516. public UILabel AttachPointStateLabel;
  517. public UIButton RemoveButton;
  518. public UIGrid Grid;
  519. public UIWFTabPanel TabPanel;
  520. public WindowPartsTransform PartsTransForm;
  521. public UIButton CameraFocusButton;
  522. public WFCheckBox VisibleCheckButton;
  523. private List<PhotoTransTargetObject> target_list_ = new List<PhotoTransTargetObject>();
  524. private bool change_bg_;
  525. private PhotoTransTargetObject select_trans_target_;
  526. private WfCameraMoveSupport camera_move_support_;
  527. private UIScrollView scroll_view_;
  528. }