Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tddd96
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Jirénius
tddd96
Merge requests
!15
startScreen new look
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
startScreen new look
guiShell
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
65
Closed
Martin Jirénius
requested to merge
guiShell
into
develop
6 years ago
Overview
0
Commits
1
Pipelines
0
Changes
65
Expand
New startscreen implemented, only shell
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
cb6869c3
1 commit,
6 years ago
65 files
+
1562
−
378
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
65
Search (e.g. *.vue) (Ctrl+P)
stablab/Assets/Scripts/UI/CursorChanger.cs
0 → 100644
+
23
−
0
Options
using
System.Collections
;
using
System.Collections.Generic
;
using
UnityEngine
;
public
class
CursorChanger
:
MonoBehaviour
{
public
Texture2D
newCursor
;
public
void
Start
()
{
// Create a texture. Texture size does not matter, since
// LoadImage will replace with with incoming image size.
}
public
void
OnMouseEnter
()
{
Cursor
.
SetCursor
(
newCursor
,
Vector2
.
zero
,
CursorMode
.
Auto
);
}
public
void
OnMouseExit
()
{
Cursor
.
SetCursor
(
null
,
Vector2
.
zero
,
CursorMode
.
Auto
);
}
}
Loading