void Awake() { Pos = new Vector2(transform.position.x, transform.position.y); m_controller = FindObjectOfType <P2Controller>(); selected = false; spriteR = GetComponent <SpriteRenderer>(); //ownership = UNOWNED; }
//TODO: add change mesh listener void Awake() { mergeChance = true; nested = false; selected = false; m_controller = FindObjectOfType <P2Controller>(); MeshR = GetComponent <MeshRenderer>(); }
void Awake() { m_controller = FindObjectOfType <P2Controller>(); }