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