public void setHeroState() { disableTap(); disableMouseOvr(); _state = ZONE_STATES.HERO; this.gameObject.renderer.material.mainTexture = HERO; }
public void DeSelect() { this.gameObject.renderer.material.mainTexture = FLOOR; _state = ZONE_STATES.NONE; enableTap(); enableMouseOvr(); }
public void Select() { this.gameObject.renderer.material.mainTexture = SELECTED; _state = ZONE_STATES.SELECTED; disableTap(); disableMouseOvr(); }