コード例 #1
0
ファイル: GUI.cs プロジェクト: xKiwii/CubyTower
 void _guiFuseeLink_OnGUIButtonDown(GUIButton sender, GUIButtonEventArgs mea)
 {
     Debug.WriteLine("Button wurde geklickt");
     Instances.Main.RestartGame();
     RemoveGuiButton();
     //OpenLink("http://fusee3d.org");
 }
コード例 #2
0
 void _guiFuseeLink_OnGUIButtonDown(GUIButton sender, GUIButtonEventArgs mea)
 {
     ButtonDown?.Invoke(this, null);
 }
コード例 #3
0
 private void _guiFuseeLink_OnGUIButtonEnter(GUIButton sender, GUIButtonEventArgs mea)
 {
     _guiFuseeLink.ButtonColor = new float4(0.6f, 0.2f, 0.2f, 0.4f);
     _guiFuseeLink.BorderWidth = 1;
     SetCursor(CursorType.Hand);
 }
コード例 #4
0
 private void _guiFuseeLink_OnGUIButtonLeave(GUIButton sender, GUIButtonEventArgs mea)
 {
     _guiFuseeLink.ButtonColor = new float4(0, 0, 0, 0);
     _guiFuseeLink.BorderWidth = 0;
     SetCursor(CursorType.Standard);
 }
コード例 #5
0
ファイル: Simple.cs プロジェクト: griestopf/Fusee.Tutorial
 void _guiFuseeLink_OnGUIButtonDown(GUIButton sender, GUIButtonEventArgs mea)
 {
     OpenLink("http://fusee3d.org");
 }
コード例 #6
0
ファイル: GUI.cs プロジェクト: xKiwii/CubyTower
 public void _guiFuseeLink_OnGUIButtonEnter(GUIButton sender, GUIButtonEventArgs mea)
 {
     _guiFuseeLink.ButtonColor = new float4(0, 0.6f, 0.2f, 0.4f);
     _guiFuseeLink.BorderWidth = 1;
 }
コード例 #7
0
ファイル: GUI.cs プロジェクト: xKiwii/CubyTower
 public void _guiFuseeLink_OnGUIButtonLeave(GUIButton sender, GUIButtonEventArgs mea)
 {
     _guiFuseeLink.ButtonColor = new float4(0, 0, 0, 0);
     _guiFuseeLink.BorderWidth = 0;
 }
コード例 #8
0
ファイル: GUI.cs プロジェクト: xKiwii/CubyTower
 void _guiFuseeLink_OnGUIButtonDown(GUIButton sender, GUIButtonEventArgs mea)
 {
     Debug.WriteLine("Button wurde geklickt");
     Instances.Main.RestartGame();
     RemoveGuiButton();
     //OpenLink("http://fusee3d.org");
 }
コード例 #9
0
ファイル: GUI.cs プロジェクト: xKiwii/CubyTower
 public void _guiFuseeLink_OnGUIButtonLeave(GUIButton sender, GUIButtonEventArgs mea)
 {
     _guiFuseeLink.ButtonColor = new float4(0, 0, 0, 0);
     _guiFuseeLink.BorderWidth = 0;
 }
コード例 #10
0
ファイル: GUI.cs プロジェクト: xKiwii/CubyTower
 public void _guiFuseeLink_OnGUIButtonEnter(GUIButton sender, GUIButtonEventArgs mea)
 {
     _guiFuseeLink.ButtonColor = new float4(0, 0.6f, 0.2f, 0.4f);
     _guiFuseeLink.BorderWidth = 1;
 }