void Start() { pool = TheStackPool.instance; isMoveOnX = Random.Range(0, 10) >= 5 ? true : false; SpawnToptack(); }
public List <GameObject> theStack; // 每次移除将列表中最后一个位置的 stack 移动到列表第一个位置并重新赋值它的 posistion void Awake() { instance = this; InitStack(); }
void Start() { pool = TheStackPool.instance; originCamY = transform.position.y; }