Last active
February 18, 2018 20:45
-
-
Save oismaelash/4b71d55cc2fb68725d83c1b324df7f44 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.UI; | |
public class TestsAny : MonoBehaviour | |
{ | |
[SerializeField] private Text[] myComponentText; | |
[SerializeField] private int myInt = 0; | |
private void Update() | |
{ | |
if (myComponentText[myInt].text.Length != myInt) | |
{ | |
print("Action Now"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment