public void OnTriggerEnter(Collider other) { if (other.tag.Equals("Player")) { KnightClubAPI.ChangeCurrency(AddedCurrency, reward, GameManager.user.username); other.GetComponent <Player>().ChangeScenes(returnScene); } }
public static void SetHeadwear(string itemname, int cost) { targetShirt = itemname; KnightClubAPI.ChangeCurrency(SetHeadwearP2, -cost, user.username); }