コード例 #1
0
 public void SetPlayer(PlayerInventory playerInventory)
 {
     ready = true;
     this.playerInventory          = playerInventory;
     geneticCrossingPanelComponent = geneticCrossingPanel.GetComponent <GeneticCrossingPanel> ();
     geneticCrossingPanelComponent.SetPlayerInventoryGrid(this);
 }
コード例 #2
0
 public void SetInventoryGrid(PlayerInventoryGrid playerInventoryGrid)
 {
     this.playerInventoryGrid = playerInventoryGrid;
     geneticCrossingPanel     = playerInventoryGrid.geneticCrossingPanel.GetComponent <GeneticCrossingPanel>();
 }