| | |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using UnityEngine; |
| | | using UnityEngine.UI; |
| | | using System; |
| | | |
| | | public class ScrollItem:MonoBehaviour { |
| | | |
| | | RectTransform m_RectTransform; |
| | | public RectTransform rectTransform { |
| | | get { |
| | | if(m_RectTransform == null) { |
| | | m_RectTransform = this.AddMissingComponent<RectTransform>(); |
| | | } |
| | | return m_RectTransform; |
| | | } |
| | | } |
| | | |
| | | public virtual void Display(object _data) { |
| | | this.gameObject.SetActive(true); |
| | | } |
| | | |
| | | public virtual void Dispose() { |
| | | |
| | | } |
| | | |
| | | public virtual void OpeningShow() |
| | | { |
| | | |
| | | } |
| | | |
| | | } |
| | | using System.Collections;
|
| | | using System.Collections.Generic;
|
| | | using UnityEngine;
|
| | | using UnityEngine.UI;
|
| | | using System;
|
| | |
|
| | | public class ScrollItem:MonoBehaviour {
|
| | |
|
| | | RectTransform m_RectTransform;
|
| | | public RectTransform rectTransform {
|
| | | get {
|
| | | if(m_RectTransform == null) {
|
| | | m_RectTransform = this.AddMissingComponent<RectTransform>();
|
| | | }
|
| | | return m_RectTransform;
|
| | | }
|
| | | }
|
| | |
|
| | | public virtual void Display(object _data) {
|
| | | this.gameObject.SetActive(true);
|
| | | }
|
| | |
|
| | | public virtual void Dispose() {
|
| | |
|
| | | }
|
| | |
|
| | | public virtual void OpeningShow()
|
| | | {
|
| | |
|
| | | }
|
| | |
|
| | | }
|