DeckOfDev

Jumpy Fish - Completed Game Project

Jumpy Fish - Completed Game Project Unity

Screenshots

Jumpy Fish - Completed Game Project Unity
Jumpy Fish - Completed Game Project Unity
Jumpy Fish - Completed Game Project Unity
Jumpy Fish - Completed Game Project Unity
Jumpy Fish - Completed Game Project Unity
Jumpy Fish - Completed Game Project Unity
Jumpy Fish - Completed Game Project Unity

Specification

How to Use

Sample Code

using UnityEngine; using System.Collections; public class CreditsOnOffScript : MonoBehaviour { public GameObject menu, credits; void Start () { if(menu.activeInHierarchy == true) // If menu is on { gameObject.GetComponent<Animator> ().enabled = true; // Making animations to work. } } public void Pressed () { // When button will be pressed if(menu.activeInHierarchy == true) // If menu is on { menu.SetActive(false); // Menu is off credits.SetActive(true); // Credits is on } else { // If Credits is on menu.SetActive(true); // Menu is on credits.SetActive(false); // Credits is off } } }

Video

Comments (0)

  • {{com.username}}
    {{com.username}}
    Buyer
    Seller

    {{com.username}}

    {{com.ctime}}

    {{com.content}}

    • {{com2.username}}
      {{com2.username}}
      Buyer
      Seller

      {{com2.username}}

      {{com2.ctime}}

      {{com2.content}}