Loading files
f6b8e5137This file is pinned to the selected release. Download the original to open it in your design tool.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Leap.Unity {
public class GameObjectSequenceProvider : MonoBehaviour, IGameObjectSequenceProvider {
[SerializeField]
private List<GameObject> _gameObjects;
public List<GameObject> gameObjects {
get {
if (_gameObjects == null) _gameObjects = new List<GameObject>();
return _gameObjects;
}
}
public GameObject this[int idx] {
get {
return gameObjects[idx];
}
}
public int Count {
get {
return gameObjects.Count;
}
}
}
}