void Start() { GameObject myReelsObj = GameObject.Find("AllReels"); myReels = myReelsObj.GetComponent <Slot_Machine_System>(); Debug.Log(myReelsObj + "this is my reels object"); Debug.Log(myReels + "this is my reels script component"); }
void Awake() { slot_system = all_reels.GetComponent <Slot_Machine_System>(); guess_card_ui_sprite = guess_card.GetComponent <UISprite>(); guess_card_tween_position = guess_card.GetComponent <TweenPosition>(); guess_card_tween_rotation = guess_card.GetComponent <TweenRotation>(); guess_card_tween_scale = guess_card.GetComponent <TweenScale>(); //AddCardsToAList(); //RandomizeTempObj(); }
void Start() { slot_machine = allReels.GetComponent <Slot_Machine_System>(); review_coins = PlayerPrefs.GetString("Review", review_coins); reward_panel = PlayerPrefs.GetString("reward panel", reward_panel); // if(reward_panel == "not active" || review_coins == "not reviewed") // { // Debug.Log("player didnt write review yet"); // } // else if (reward_panel == "was activate" || review_coins == "not reviewed") // { // ActivateRewardPanel(); // } // else if (reward_panel == "was activate" || review_coins == "is reviewed") // { // Debug.Log("player was awarded already"); // } }
void Start() { GameObject myReelsObj = GameObject.Find("AllReels"); myReels = myReelsObj.GetComponent <Slot_Machine_System>(); }
void Awake() { slot_system = all_reels.GetComponent <Slot_Machine_System>(); //AddValues (); }