void Start() { if(instance == null) { instance = this; } else if(instance != this) { Destroy(this); } dict = new Dictionary<Enums.Arrows, Sprite>(); for(int i = 0; i < types.Length; i++) { dict.Add(types[i],images[i]); } }