void Start(){ subscribeToSorcererInstancePublisher (); // jump into game nodeDiameter = nodeRadius*2; gridSizeX = Mathf.RoundToInt(gridWorldSize.x/nodeDiameter); gridSizeY = Mathf.RoundToInt(gridWorldSize.y/nodeDiameter); createGrid(); Fighter fighter = GameObject.FindObjectOfType(typeof(Fighter))as Fighter; sorcerer = (Sorcerer)SorcererInstanceManager.getSorcerer (); // Sorcerer sorcerer = GameObject.FindObjectOfType (typeof (Sorcerer))as Sorcerer; fighter.setGrid (this); sorcerer.setGrid (this); }