Added start screen button and text.
This commit is contained in:
parent
5d203d1e9d
commit
2639e11238
9 changed files with 3278 additions and 618 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -3,19 +3,19 @@ using System.Collections;
|
|||
|
||||
public class StartHandler : MonoBehaviour {
|
||||
|
||||
public Texture normalButton;
|
||||
public Texture hoverButton;
|
||||
public GUITexture guiButton;
|
||||
public Sprite normalButton;
|
||||
public Sprite hoverButton;
|
||||
|
||||
void OnMouseEnter() {
|
||||
guiButton.texture = hoverButton;
|
||||
guiTexture.texture = hoverButton.texture;
|
||||
}
|
||||
|
||||
void OnMouseExit() {
|
||||
guiButton.texture = normalButton;
|
||||
guiTexture.texture = normalButton.texture;
|
||||
}
|
||||
|
||||
void OnMouseDown() {
|
||||
Application.LoadLevel ("Main");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,10 @@ fileFormatVersion: 2
|
|||
guid: 41037e5923310ee4fb43e2da9485d6dc
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
defaultReferences:
|
||||
- normalButton: {fileID: 2800000, guid: d40467344d238024891b4685f00a717b, type: 3}
|
||||
- hoverButton: {fileID: 2800000, guid: 4e31eb4eaadf3314e8da10b79a0d43fa, type: 3}
|
||||
- guiButton: {instanceID: 0}
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
|
|
|
|||
BIN
Assets/Sprites/black.png
Normal file
BIN
Assets/Sprites/black.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 877 B |
45
Assets/Sprites/black.png.meta
Normal file
45
Assets/Sprites/black.png.meta
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 894bd082fc25e49f68e0ae12cb7e590c
|
||||
TextureImporter:
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -3
|
||||
maxTextureSize: 1024
|
||||
textureSettings:
|
||||
filterMode: 0
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: -1
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
|
|
@ -4,7 +4,7 @@ TextureImporter:
|
|||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
enableMipMap: 0
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
|
|
@ -27,17 +27,17 @@ TextureImporter:
|
|||
aniso: 1
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: 0
|
||||
spritePixelsToUnits: 8
|
||||
alphaIsTransparency: 1
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ TextureImporter:
|
|||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
enableMipMap: 0
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
|
|
@ -27,17 +27,17 @@ TextureImporter:
|
|||
aniso: 1
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: 0
|
||||
spritePixelsToUnits: 8
|
||||
alphaIsTransparency: 1
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue