Example #1
0
 void Start()
 {
     myCellMerger   = FindObjectOfType <CellMerger>();
     myCellSpawner  = FindObjectOfType <CellSpawner>();
     mySpriteRender = GetComponent <SpriteRenderer>();
     myCollider2D   = GetComponent <Collider2D>();
 }
Example #2
0
 public void CustomStart()
 {
     myCellMerger   = GetComponent <CellMerger>();
     myOrganManager = GameManager.gameManager.organManager;
 }