Files
findthesource/Assets/Scripts/Test.cs

17 lines
472 B
C#
Raw Normal View History

2022-11-02 12:52:21 +01:00
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]);
}
2022-11-02 17:17:33 +01:00
public void test2() {
var upgrade = FindObjectOfType<Upgrade>();
Debug.Log("akcio: " + upgrade.akcio[upgrade.getAkcioIndex()]);
}
2022-11-02 12:52:21 +01:00
}