diff options
Diffstat (limited to 'Assets/ProFlares/DemoScripts/SplitScreenDemo.cs')
-rw-r--r-- | Assets/ProFlares/DemoScripts/SplitScreenDemo.cs | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/Assets/ProFlares/DemoScripts/SplitScreenDemo.cs b/Assets/ProFlares/DemoScripts/SplitScreenDemo.cs deleted file mode 100644 index ac13675..0000000 --- a/Assets/ProFlares/DemoScripts/SplitScreenDemo.cs +++ /dev/null @@ -1,53 +0,0 @@ - -/// ProFlares - v1.08 - Copyright 2014-2015 All rights reserved - ProFlares.com - - - -using UnityEngine; -using System.Collections; - -public class SplitScreenDemo : MonoBehaviour { - - // Use this for initialization - void Start () { - - } - - // Update is called once per frame - void Update () { - - } - - public Camera guiCamera; - public Texture2D Logo; - - public Texture2D Info; - - void OnGUI(){ - - GUI.color = Color.white; - - GUIStyle LogoStyle = new GUIStyle(); - LogoStyle.active.background = Logo; - - LogoStyle.normal.background = Logo; - LogoStyle.richText = true; - LogoStyle.alignment = TextAnchor.MiddleCenter; - LogoStyle.normal.textColor = Color.white; - - if(GUI.Button(new Rect(10,0,Logo.width,Logo.height),"",LogoStyle)){ - Application.OpenURL("http://proflares.com/store"); - } - - GUIStyle styleInfo = new GUIStyle(); - styleInfo.active.background = Info; - styleInfo.normal.background = Info; - styleInfo.richText = true; - styleInfo.alignment = TextAnchor.MiddleCenter; - styleInfo.normal.textColor = Color.white; - - if(GUI.Button(new Rect((guiCamera.pixelRect.width*0.5f)-(Info.width*0.5f),guiCamera.pixelRect.height*2-Info.height,Info.width,Info.height),"",styleInfo)){ - //Application.OpenURL("http://proflares.com/store"); - } - } -} |