android
This commit is contained in:
@@ -470,7 +470,7 @@ namespace Coolape
|
||||
int tmpIndex = 0;
|
||||
|
||||
// void LateUpdate ()
|
||||
public void Update ()
|
||||
public void _Update ()
|
||||
{
|
||||
if (!isFinishInit || itemList.Count < 3) {
|
||||
return;
|
||||
@@ -584,7 +584,8 @@ namespace Coolape
|
||||
protected virtual void OnMove(UIPanel panel)
|
||||
{
|
||||
if (scrollView == null) return;
|
||||
bool restrictWithinPanel = false;
|
||||
_Update();
|
||||
bool restrictWithinPanel = false;
|
||||
if (list == null || list.Count == 0)
|
||||
{
|
||||
restrictWithinPanel = true;
|
||||
|
||||
@@ -609,7 +609,7 @@ namespace Coolape
|
||||
Bounds _bound;
|
||||
Vector3 _offset;
|
||||
// void LateUpdate ()
|
||||
void Update ()
|
||||
void _Update ()
|
||||
{
|
||||
if (itemList.Count < 3) {
|
||||
return;
|
||||
@@ -708,6 +708,7 @@ namespace Coolape
|
||||
protected virtual void OnMove(UIPanel panel)
|
||||
{
|
||||
if (scrollView == null) return;
|
||||
_Update();
|
||||
bool restrictWithinPanel = false;
|
||||
if (list == null || list.Count == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user