Files
findthesource/Assets/Scripts/Test.cs
2022-11-02 17:17:33 +01:00

17 lines
472 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Test : MonoBehaviour
{
public void testPass() {
Debug.Log("Passhthrough test: " + FindObjectOfType<Dice>().getDices()[0]);
Debug.Log("Passhthrough test: " + FindObjectOfType<Dice>().getDices()[1]);
}
public void test2() {
var upgrade = FindObjectOfType<Upgrade>();
Debug.Log("akcio: " + upgrade.akcio[upgrade.getAkcioIndex()]);
}
}