コード例 #1
0
    public void AssociateGOToRobot(GameObject GO, Cellulo robot)
    {
        print("Associating GO " + GO.name + " to robot ID" + robot.getID());
        CelluloIndexEntry myEntry = GetEntry(robot);

        myEntry.AssociatedGO = GO;
    }
コード例 #2
0
    public CelluloIndexEntry GetEntry(Cellulo robot)
    {
        CelluloIndexEntry EntryToReturn = CelluloInPool.Find(x => x.Id.Equals(robot.getID()));

        return(EntryToReturn);
    }
コード例 #3
0
 public CelluloIndexEntry()
 {
     Robot = new Cellulo();
     Id    = Robot.getID();
 }