Ejemplo n.º 1
0
 public static Indexproxy instances()
 {
     if (instance == null)
     {
         instance = new Indexproxy();
     }
     return(instance);
 }
Ejemplo n.º 2
0
 public static Indexproxy instances()
 {
     if (instance == null)
     {
         instance = new Indexproxy();
     }
     instance.ModelToDoView();
     return(instance);
 }
Ejemplo n.º 3
0
    void Awake()
    {
        instance = this;


        for (int i = 0; i < items.Length; i++)
        {
            Indexproxy.instances().addmodeltolist(new IndexModel(Color.red));
        }
    }
Ejemplo n.º 4
0
    public void ChangeColorInImage(int i)
    {
        IndexModel t = Indexproxy.instances().GetIndexModel(i);

        items[i].color = t.color;
    }