<?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>dead Archives - Oxmond Technology</title>
	<atom:link href="https://oxmond.com/tag/dead/feed/" rel="self" type="application/rss+xml" />
	<link>https://oxmond.com</link>
	<description>IT Development</description>
	<lastBuildDate>Wed, 18 Nov 2020 05:12:56 +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 change a sprite image with script</title>
		<link>https://oxmond.com/how-to-change-a-sprite-image-with-script-unity-2018-tutorial-for-beginners/</link>
					<comments>https://oxmond.com/how-to-change-a-sprite-image-with-script-unity-2018-tutorial-for-beginners/#respond</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Tue, 20 Nov 2018 01:43:28 +0000</pubDate>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[2018]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[bird]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[change image]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[coding pirates]]></category>
		<category><![CDATA[dead]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[game making]]></category>
		<category><![CDATA[lesson]]></category>
		<category><![CDATA[scripting 2d]]></category>
		<category><![CDATA[sprite]]></category>
		<category><![CDATA[sprites]]></category>
		<category><![CDATA[tutorials]]></category>
		<guid isPermaLink="false">https://demo.oxmond.com/?p=247</guid>

					<description><![CDATA[<p>Learn to change a 2D sprite image from script (C#) in Unity 2018. Unity beginner tutorial. ❤️ Subscribe to Oxmond Tutorials: https://bit.ly/SubscribeOxmondTutorials ✅ Download 2D Assets Here: https://assetstore.unity.com/packages/essentials/asset-packs/ ✅ Free Packages at the Unity Assets Store: https://assetstore.unity.com/lists/top-free-packages-13201 😷👕 Need a face mask / developer T-shirt?...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-change-a-sprite-image-with-script-unity-2018-tutorial-for-beginners/">How to change a sprite image with script</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Learn to change a 2D sprite image from script (C#) in Unity 2018. Unity beginner tutorial.</p>
<hr />
<p><span style="font-weight: 400;">❤️ <strong>Subscribe to Oxmond Tutorials:</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 2D Assets Here:</strong><br />
<a href="https://assetstore.unity.com/packages/essentials/asset-packs/2d-sprites-pack-73728?aid=1100l4p9k">https://assetstore.unity.com/packages/essentials/asset-packs/</a></p>
<p>✅ <strong>Free Packages 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</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>Bird script:</strong></p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">/* .-------.                             .--.    .-------.     .--.            .--.     .--.        
   |       |--.--.--------.-----.-----.--|  |    |_     _|--.--|  |_.-----.----|__|---.-|  |-----.
   |   -   |_   _|        |  _  |     |  _  |      |   | |  |  |   _|  _  |   _|  |  _  |  |__ --|
   |_______|__.__|__|__|__|_____|__|__|_____|      |___| |_____|____|_____|__| |__|___._|__|_____|
   © OXMOND / www.oxmond.com */

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Bird : MonoBehaviour
{

    public Sprite DeadBird;

    void Update()
    {

        if (transform.position.y &gt;= -4.53)
        {
            transform.Translate(0f, -0.25f, 0f);
        }
        else
        {
            this.gameObject.GetComponent&lt;SpriteRenderer&gt;().sprite = DeadBird;
        }
    }
}

</pre>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-change-a-sprite-image-with-script-unity-2018-tutorial-for-beginners/">How to change a sprite image with script</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-a-sprite-image-with-script-unity-2018-tutorial-for-beginners/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
