private void RemoveKeywords(CardVisual target) { for (int i = 0; i < keywords.Count; i++) { target.RPCAddKeyword(PhotonTargets.All, keywords[i], false); } }
private void AddKeywords(CardVisual target) { for (int i = 0; i < keywords.Count; i++) { //Debug.Log("adding " + keywords[i].ToString() + " to " + target.gameObject.name); target.RPCAddKeyword(PhotonTargets.All, keywords[i], true); } }