Hello , i have getting this error and i dont know what is the fix
error CS1502: The best overloaded method match for `System.Collections.Generic.List.Add(int)’ has some invalid arguments
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Test : MonoBehaviour {
private string folderName = "";
private float alpha = 1.0f;
public List<int> pictures = new List<int>();
void Start (){
alpha = 0.0f;
Object[] textures = Resources.LoadAll(folderName);
for(int i= 0; i < textures.Length; i++){
pictures.Add(textures*);*
-
}*
- }*
can someone tell me what is the wrong ?