b8ab71969a
Finished lockpicking. tied it to the Attributes system. when you pick a lock you gain dexterity, the higher your dexterity, the easier it is to pick locks.
33 lines
561 B
C#
33 lines
561 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class IPBR_SupportAndReview : MonoBehaviour
|
|
{
|
|
public string url;
|
|
public GameObject panel;
|
|
|
|
#if UNITY_EDITOR
|
|
|
|
void Awake()
|
|
{
|
|
panel.SetActive(true);
|
|
}
|
|
public void CloseWindow()
|
|
{
|
|
this.gameObject.SetActive(false);
|
|
}
|
|
|
|
public void GoToAssetStore()
|
|
{
|
|
Application.OpenURL(url);
|
|
}
|
|
|
|
public void GoToInfinity()
|
|
{
|
|
Application.OpenURL("https://www.infinitypbr.com");
|
|
}
|
|
|
|
#endif
|
|
}
|