예제 #1
0
    public void TestCallStaticMethod()
    {
        altUnityDriver.CallStaticMethods("UnityEngine.PlayerPrefs", "SetInt", "Test?1");
        int a = Int32.Parse(altUnityDriver.CallStaticMethods("UnityEngine.PlayerPrefs", "GetInt", "Test?2"));

        Assert.AreEqual(1, a);
    }