Super Knight : Enter the Dungeon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
783 B

using UnityEngine;
using System.Collections;
namespace OneP.InfinityScrollView
{
public class InfinityBaseItem : MonoBehaviour {
private InfinityScrollView infinityScrollView;
private int index = int.MinValue;
public int Index{
private set{
index=value;
}
get{
return index;
}
}
public InfinityScrollView GetInfinityScrollView(){
return infinityScrollView;
}
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
// using for setup data
public virtual void Reload(InfinityScrollView infinity,int _index){
infinityScrollView = infinity;
Index = _index;
//todo
}
public virtual void SelfReload(){
if (Index != int.MinValue) {
//todo
}
}
}
}