credits page
This commit is contained in:
parent
b364d800ec
commit
8c13c93e2c
9 changed files with 3246 additions and 24 deletions
13
Assets/RealCode/Menu/ButtonS/ButtonCredits.cs
Normal file
13
Assets/RealCode/Menu/ButtonS/ButtonCredits.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class ButtonCredits : ButtonOnClick {
|
||||
|
||||
public override void OnClick() {
|
||||
if (GameTransition.Instance.state == GameState.Menu){
|
||||
GameTransition.Instance.state = GameState.Credits;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
11
Assets/RealCode/Menu/ButtonS/ButtonCredits.cs.meta
Normal file
11
Assets/RealCode/Menu/ButtonS/ButtonCredits.cs.meta
Normal file
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1216338762a2cdc419ce81e52c324b6e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load diff
|
@ -4,7 +4,7 @@ using UnityEngine;
|
|||
using UnityEngine.EventSystems;
|
||||
using System.Linq;
|
||||
|
||||
public enum GameState { Menu, SinglePlayer, Multiplayer, Lobby, SelectingRegion, ConnectionInProgress, InGame, Continue }
|
||||
public enum GameState { Menu, SinglePlayer, Multiplayer, Lobby, SelectingRegion, ConnectionInProgress, InGame, Continue, Credits }
|
||||
|
||||
public class GameTransition : MonoBehaviour {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue