<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>intermediate Archives - Oxmond Technology</title>
	<atom:link href="https://oxmond.com/tag/intermediate/feed/" rel="self" type="application/rss+xml" />
	<link>https://oxmond.com</link>
	<description>IT Development</description>
	<lastBuildDate>Wed, 18 Nov 2020 04:31:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.0</generator>
	<item>
		<title>How To Get the DATE and TIME</title>
		<link>https://oxmond.com/how-to-get-the-date-and-time/</link>
					<comments>https://oxmond.com/how-to-get-the-date-and-time/#respond</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Mon, 19 Aug 2019 17:00:12 +0000</pubDate>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[coding pirates]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[datetime]]></category>
		<category><![CDATA[datetime format]]></category>
		<category><![CDATA[datetime.now]]></category>
		<category><![CDATA[days]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[get]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[Hans Oxmond]]></category>
		<category><![CDATA[hours]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[intermediate]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[minutes]]></category>
		<category><![CDATA[month]]></category>
		<category><![CDATA[Oxmond Unity Tutorials]]></category>
		<category><![CDATA[parse]]></category>
		<category><![CDATA[read]]></category>
		<category><![CDATA[retrieving]]></category>
		<category><![CDATA[seconds]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[system time]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[timestamp]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[unity 2019]]></category>
		<category><![CDATA[unity datetime]]></category>
		<category><![CDATA[video games]]></category>
		<category><![CDATA[work with date]]></category>
		<category><![CDATA[year]]></category>
		<guid isPermaLink="false">https://oxmond.com/?p=507</guid>

					<description><![CDATA[<p>How to work with date and time. In this tutorial we&#8217;ll work with the system datetime. How to get it, and how to format it.  Tip: You can get the NAME of the day by typing &#8220;ddd&#8221; or &#8220;dddd&#8221;. Try this: print(&#8220;Today is &#8221; +...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-get-the-date-and-time/">How To Get the DATE and TIME</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><span style="font-weight: 400;">How to work with date and time. In this tutorial we&#8217;ll work with the system datetime. How to get it, and how to format it. </span></p>
<p>Tip: You can get the NAME of the day by typing &#8220;ddd&#8221; or &#8220;dddd&#8221;. Try this:<br />
print(&#8220;Today is &#8221; + System.DateTime.UtcNow.ToLocalTime().ToString(&#8220;dddd&#8221;));</p>
<hr />
<p><span style="font-weight: 400;">❤️<strong> Subscribe to Oxmond Tutorials channel. New videos every day!</strong></span><span style="font-weight: 400;"><br />
</span><a href="https://bit.ly/SubscribeOxmondTutorials"><span style="font-weight: 400;">https://bit.ly/SubscribeOxmondTutorials</span></a></p>
<p><strong>✅ Download Free Assets from the Unity Assets Store: </strong><br />
<a href="https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k"><span style="font-weight: 400;">https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k </span></a></p>
<p>😷👕 <strong>Need a face mask / developer T-shirt? Drop by our shop and get a 20% DISCOUNT on your first purchase by using the discount code OXMONDSALE. Click here:</strong><br />
<a href="https://shop.oxmond.com/discount/OXMONDSALE">https://shop.oxmond.com/discount/OXMONDSALE</a></p>
<hr />
<p><strong>The Date script:</strong></p>
<pre>/*

   .-------.                             .--.    .-------.     .--.            .--.     .--.        
   |       |--.--.--------.-----.-----.--|  |    |_     _|--.--|  |_.-----.----|__|---.-|  |-----.
   |   -   |_   _|        |  _  |     |  _  |      |   | |  |  |   _|  _  |   _|  |  _  |  |__ --|
   |_______|__.__|__|__|__|_____|__|__|_____|      |___| |_____|____|_____|__| |__|___._|__|_____|
   © 2019 OXMOND / www.oxmond.com 

*/

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;

public class Date : MonoBehaviour
{

    public TextMeshPro largeText;

    void Start()
    {
        string time = System.DateTime.UtcNow.ToLocalTime().ToString("dd-MM-yyyy   HH:mm");
        string timeUS = System.DateTime.UtcNow.ToLocalTime().ToString("M/d/yy   hh:mm tt");
        largeText.text = time + "[breaktag]" + timeUS;
    }
}
</pre>
<hr />
<p><strong>EXTRA: You can detect if it is night with this little script:</strong></p>
<pre>using UnityEngine;

public class DayOrNight : MonoBehaviour
{
    void Start()
    {
        int hourInt = System.DateTime.Now.Hour;
        bool night = false;

        if (hourInt &lt;= 6 || hourInt &gt;= 22) {
            night = true;
        }      
        print("Night: " + night);
    }
}
</pre>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-get-the-date-and-time/">How To Get the DATE and TIME</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/how-to-get-the-date-and-time/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Make A Character Look At The Mouse</title>
		<link>https://oxmond.com/how-to-make-a-character-look-at-the-mouse/</link>
					<comments>https://oxmond.com/how-to-make-a-character-look-at-the-mouse/#respond</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Sun, 18 Aug 2019 07:01:15 +0000</pubDate>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[2D]]></category>
		<category><![CDATA[Beginner Tutorial - Unity 2019]]></category>
		<category><![CDATA[character]]></category>
		<category><![CDATA[character look at mouse]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[follow]]></category>
		<category><![CDATA[follow mouse position 2D]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[How To Make A Character Look At The Mouse]]></category>
		<category><![CDATA[intermediate]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[look]]></category>
		<category><![CDATA[look at mouse]]></category>
		<category><![CDATA[lookat]]></category>
		<category><![CDATA[lookat 2D]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[mouse look]]></category>
		<category><![CDATA[mouse movement]]></category>
		<category><![CDATA[movement]]></category>
		<category><![CDATA[object]]></category>
		<category><![CDATA[Oxmond Unity Tutorials]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[player look at mouse]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[target]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[towards]]></category>
		<category><![CDATA[Transform.LookAt]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[unity 2019]]></category>
		<category><![CDATA[Unity3d]]></category>
		<category><![CDATA[video games]]></category>
		<guid isPermaLink="false">https://oxmond.com/?p=495</guid>

					<description><![CDATA[<p>How to make you character look at and follow the mouse. With only at few lines of code you can give extra life to your 2D game. ❤️ Subscribe to Oxmond Tutorials. Stay ahead of the game: https://bit.ly/SubscribeOxmondTutorials ✅ Download &#8220;the ghost&#8221; image here: https://oxmond.com/download/tutorials/unity/ghost.png...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-make-a-character-look-at-the-mouse/">How To Make A Character Look At The Mouse</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>How to make you character look at and follow the mouse. With only at few lines of code you can give extra life to your 2D game.</p>
<hr />
<p>❤️ Subscribe to Oxmond Tutorials. Stay ahead of the game:<br />
<a href="https://bit.ly/SubscribeOxmondTutorials">https://bit.ly/SubscribeOxmondTutorials</a></p>
<p>✅ Download &#8220;the ghost&#8221; image here:<br />
<a href="https://oxmond.com/download/tutorials/unity/ghost.png">https://oxmond.com/download/tutorials/unity/ghost.png</a></p>
<p>✅ Other Free Assets in the Unity Assets Store:<br />
<a href="https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k">https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k</a></p>
<p>😷👕 Need a face mask / developer T-shirt? Drop by our shop and get a 20% DISCOUNT on your first purchase by using the discount code OXMONDSALE. Click here:<br />
<a href="https://shop.oxmond.com/discount/OXMONDSALE">https://shop.oxmond.com/discount/OXMONDSALE</a></p>
<p>Some links might be affiliate links. Any support is truly appreciated so we can keep on making high quality content 🙂</p>
<hr />
<p><strong>The Eye script:</strong></p>
<pre>/*

   .-------.                             .--.    .-------.     .--.            .--.     .--.        
   |       |--.--.--------.-----.-----.--|  |    |_     _|--.--|  |_.-----.----|__|---.-|  |-----.
   |   -   |_   _|        |  _  |     |  _  |      |   | |  |  |   _|  _  |   _|  |  _  |  |__ --|
   |_______|__.__|__|__|__|_____|__|__|_____|      |___| |_____|____|_____|__| |__|___._|__|_____|
   © 2019 OXMOND / www.oxmond.com 

*/

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Eye : MonoBehaviour
{

    void Update()
    {
        Vector3 targetDir = Camera.main.ScreenToWorldPoint(Input.mousePosition) - transform.position;
        float angle = (Mathf.Atan2(targetDir.y, targetDir.x) * Mathf.Rad2Deg) - 90f;
        transform.rotation = Quaternion.AngleAxis(angle, Vector3.forward);
    }
}

</pre>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-make-a-character-look-at-the-mouse/">How To Make A Character Look At The Mouse</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/how-to-make-a-character-look-at-the-mouse/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tilemaps! How To Paint With Tiles In Unity!</title>
		<link>https://oxmond.com/tilemaps-how-to-paint-with-tiles-in-unity/</link>
					<comments>https://oxmond.com/tilemaps-how-to-paint-with-tiles-in-unity/#respond</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Fri, 16 Aug 2019 10:50:00 +0000</pubDate>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[beginner]]></category>
		<category><![CDATA[brush]]></category>
		<category><![CDATA[coding pirates]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[Hans Oxmond]]></category>
		<category><![CDATA[intermediate]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[lesson]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[Oxmond Unity Tutorials]]></category>
		<category><![CDATA[paint]]></category>
		<category><![CDATA[palette]]></category>
		<category><![CDATA[sprites]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[tile]]></category>
		<category><![CDATA[tile palette]]></category>
		<category><![CDATA[tile system]]></category>
		<category><![CDATA[tilemap]]></category>
		<category><![CDATA[tilemap mouse]]></category>
		<category><![CDATA[Tilemaps! How To Paint With Tiles In Unity]]></category>
		<category><![CDATA[tiles]]></category>
		<category><![CDATA[tileset editor]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[unity 2019]]></category>
		<category><![CDATA[unity tilemap]]></category>
		<category><![CDATA[Unity3d]]></category>
		<category><![CDATA[Unity3D 2019 Beginner Tutorial]]></category>
		<category><![CDATA[video games]]></category>
		<guid isPermaLink="false">https://oxmond.com/?p=491</guid>

					<description><![CDATA[<p>How to use tiles and tilemaps in Unity 2019. Learn how to create a tile palette and paint with tiles/sprites with the mouse. If you have never used Unity&#8217;s tileset editor, this tutorial is for you! This tile system rocks! Unity 2019 beginner tutorial. ❤️...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/tilemaps-how-to-paint-with-tiles-in-unity/">Tilemaps! How To Paint With Tiles In Unity!</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><span style="font-weight: 400;">How to use tiles and tilemaps in Unity 2019. Learn how to create a tile palette and paint with tiles/sprites with the mouse.</span></p>
<p>If you have never used Unity&#8217;s tileset editor, this tutorial is for you! This tile system rocks!</p>
<p>Unity 2019 beginner tutorial.</p>
<hr />
<p><strong>❤️ Subscribe to Oxmond Tutorials. Stay ahead of the game:</strong><span style="font-weight: 400;"><br />
</span><a href="https://bit.ly/SubscribeOxmondTutorials"><span style="font-weight: 400;">https://bit.ly/SubscribeOxmondTutorials</span></a></p>
<p><strong> ✅ Get the free Backyard Top-Down Tileset here:<br />
</strong><a href="https://assetstore.unity.com/packages/2d/environments/backyard-top-down-tileset-53854?aid=1100l4p9k"><span style="font-weight: 400;">https://assetstore.unity.com/packages/2d/environments/backyard-top-down-tileset-53854?aid=1100l4p9k </span></a></p>
<p><strong> ✅ Other Free Assets in the Unity Assets Store:<br />
</strong><a href="https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k"><span style="font-weight: 400;">https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k </span></a></p>
<p>😷👕 <strong>Need a face mask / developer T-shirt? Drop by our shop and get a 20% DISCOUNT on your first purchase by using the discount code OXMONDSALE. Click here:</strong><br />
<a href="https://shop.oxmond.com/discount/OXMONDSALE">https://shop.oxmond.com/discount/OXMONDSALE</a></p>
<p><span style="font-weight: 400;"><br />
</span><em><span style="font-weight: 400;">Some links might be affiliate links. Any support is truly appreciated so we can keep on making high quality content<br />
</span></em></p>
<p>The post <a rel="nofollow" href="https://oxmond.com/tilemaps-how-to-paint-with-tiles-in-unity/">Tilemaps! How To Paint With Tiles In Unity!</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/tilemaps-how-to-paint-with-tiles-in-unity/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Stream Vimeo Videos in Unity!</title>
		<link>https://oxmond.com/how-to-stream-vimeo-videos-in-unity/</link>
					<comments>https://oxmond.com/how-to-stream-vimeo-videos-in-unity/#comments</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Wed, 14 Aug 2019 20:19:24 +0000</pubDate>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[beginner]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[How to stream Vimeo videos in Unity!]]></category>
		<category><![CDATA[intermediate]]></category>
		<category><![CDATA[Intermediate Tutorial Unity3D 2019]]></category>
		<category><![CDATA[lesson]]></category>
		<category><![CDATA[Oxmond Unity Tutorials]]></category>
		<category><![CDATA[render texture]]></category>
		<category><![CDATA[stream]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[unity 2019]]></category>
		<category><![CDATA[Unity3d]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[video game]]></category>
		<category><![CDATA[video texture]]></category>
		<category><![CDATA[videos]]></category>
		<category><![CDATA[vimeo]]></category>
		<category><![CDATA[vimeo videos]]></category>
		<category><![CDATA[vimeo videos tutorial]]></category>
		<guid isPermaLink="false">https://oxmond.com/?p=486</guid>

					<description><![CDATA[<p>Is it possible to stream Vimeo videos in Unity? Yes it is! And it is quite easy too. But you need a Vimeo Pro license, the streaming features are not available in the Free/Plus plans. ···················································································· ❤️ Subscribe to Oxmond Tutorials. Stay ahead of the...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-stream-vimeo-videos-in-unity/">How to Stream Vimeo Videos in Unity!</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Is it possible to stream Vimeo videos in Unity? Yes it is! And it is quite easy too. But you need a Vimeo Pro license, the streaming features are not available in the Free/Plus plans.</p>
<p>····················································································</p>
<p>❤️ Subscribe to Oxmond Tutorials. Stay ahead of the game:<br />
<a href="https://bit.ly/SubscribeOxmondTutorials">https://bit.ly/SubscribeOxmondTutorials</a></p>
<p>✅ Try the game Asteroids game here:<br />
<a href="https://oxmond.com/games/asteroids/">https://oxmond.com/games/asteroids/</a></p>
<p>✅ Free Asset Packages at the Unity Assets Store:<br />
<a href="https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k">https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k</a></p>
<p>😷👕 Need a face mask / developer T-shirt? Drop by our shop and get a 20% DISCOUNT on your first purchase by using the discount code OXMONDSALE. Click here:<br />
<a href="https://shop.oxmond.com/discount/OXMONDSALE">https://shop.oxmond.com/discount/OXMONDSALE</a></p>
<p>Asset Store links sponsored by Unity</p>
<p>Any support is truly appreciated so we can keep on making high quality content 🙂</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-stream-vimeo-videos-in-unity/">How to Stream Vimeo Videos in Unity!</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/how-to-stream-vimeo-videos-in-unity/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to change the cursor in Unity</title>
		<link>https://oxmond.com/how-to-change-the-cursor-in-unity/</link>
					<comments>https://oxmond.com/how-to-change-the-cursor-in-unity/#respond</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Wed, 14 Aug 2019 19:43:51 +0000</pubDate>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[beginner]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[cursor]]></category>
		<category><![CDATA[cursor change]]></category>
		<category><![CDATA[cursor sprite]]></category>
		<category><![CDATA[cursor visible]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[hidden]]></category>
		<category><![CDATA[hide]]></category>
		<category><![CDATA[How To Change The Cursor In Unity]]></category>
		<category><![CDATA[intermediate]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[lesson]]></category>
		<category><![CDATA[look]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[mouse look]]></category>
		<category><![CDATA[Oxmond Unity Tutorials]]></category>
		<category><![CDATA[sprite]]></category>
		<category><![CDATA[stream]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[unity 2019]]></category>
		<category><![CDATA[Unity3d]]></category>
		<category><![CDATA[Unity3D 2019 Beginner Tutorial]]></category>
		<category><![CDATA[video games]]></category>
		<category><![CDATA[videos]]></category>
		<category><![CDATA[visible]]></category>
		<guid isPermaLink="false">https://oxmond.com/?p=477</guid>

					<description><![CDATA[<p>How to change the cursor in Unity! In this tutorial we will have a close look at the mouse. How to hide and show the cursor, and how to change the cursor sprite from a script. ❤️ Subscribe to Oxmond Tutorials. Stay ahead of the...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-change-the-cursor-in-unity/">How to change the cursor in Unity</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><span style="font-weight: 400;">How to change the cursor in Unity! </span><span style="font-weight: 400;"><br />
</span><span style="font-weight: 400;">In this tutorial we will have a close look at the mouse. How to hide and show the cursor, and how to change the cursor sprite from a script.</span></p>
<hr />
<p>❤️ <strong>Subscribe to Oxmond Tutorials. Stay ahead of the game:</strong><br />
<a href="https://bit.ly/SubscribeOxmondTutorials">https://bit.ly/SubscribeOxmondTutorials</a></p>
<p>✅<strong> Get the free Pixel Cursors here:</strong><br />
<a href="https://assetstore.unity.com/packages/2d/gui/icons/pixel-cursors-109256?aid=1100l4p9k">https://assetstore.unity.com/packages/2d/gui/icons/pixel-cursors-109256?aid=1100l4p9k</a></p>
<p>✅ <strong>Free Assets at the Unity Assets Store:</strong><br />
<a href="https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k">https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k </a></p>
<p>😷👕 <strong>Need a face mask / developer T-shirt? Drop by our shop and get a 20% DISCOUNT on your first purchase by using the discount code OXMONDSALE. Click here:</strong><br />
<a href="https://shop.oxmond.com/discount/OXMONDSALE">https://shop.oxmond.com/discount/OXMONDSALE</a></p>
<p><strong>Script:</strong></p>
<pre>/*

   .-------.                             .--.    .-------.     .--.            .--.     .--.        
   |       |--.--.--------.-----.-----.--|  |    |_     _|--.--|  |_.-----.----|__|---.-|  |-----.
   |   -   |_   _|        |  _  |     |  _  |      |   | |  |  |   _|  _  |   _|  |  _  |  |__ --|
   |_______|__.__|__|__|__|_____|__|__|_____|      |___| |_____|____|_____|__| |__|___._|__|_____|
   © 2019 OXMOND / www.oxmond.com 

*/

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Gem : MonoBehaviour
{

    public Texture2D cursorArrow;
    public Texture2D cursorPickaxe;

    void Start()
    {
        // Cursor.visible = false;
        Cursor.SetCursor(cursorArrow, Vector2.zero, CursorMode.ForceSoftware);
    }

    void OnMouseEnter()
    {
        Cursor.SetCursor(cursorPickaxe, Vector2.zero, CursorMode.ForceSoftware);
    }

    void OnMouseExit()
    {
        Cursor.SetCursor(cursorArrow, Vector2.zero, CursorMode.ForceSoftware);
    }

}

</pre>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-change-the-cursor-in-unity/">How to change the cursor in Unity</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/how-to-change-the-cursor-in-unity/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
