Ejemplo n.º 1
0
    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");
    }
Ejemplo n.º 2
0
    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();
    }
Ejemplo n.º 3
0
    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");
//		}
    }
Ejemplo n.º 4
0
    void Start()
    {
        GameObject myReelsObj = GameObject.Find("AllReels");

        myReels = myReelsObj.GetComponent <Slot_Machine_System>();
    }
Ejemplo n.º 5
0
 void Awake()
 {
     slot_system = all_reels.GetComponent <Slot_Machine_System>();
     //AddValues ();
 }