You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
public class ObjectFade_Controller : MonoBehaviour {
[Header("Activated Objects")]
[Range(0,10)]
public int Activate_Size;
[Space(5)]
// Button Array
public Button [] _buttonActivate;
// Game Object Array
public GameObject [] _objectActivate;
// Private bool to check if object is active
private bool _isTrue = true;
private bool [] _isActive;
// Global bool array of which object has been clicked
public static bool [] _clicked_nr = new bool [24] {false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false};
void Awake (){
#region ACTIVATE
//DECLARE ALL BOOLS IN ARRAY AS TRUE AT BIRTH OF OBJECT