<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Yusuf Duman on Medium]]></title>
        <description><![CDATA[Stories by Yusuf Duman on Medium]]></description>
        <link>https://medium.com/@yusuf_duman?source=rss-eb2adc093400------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*EExjibuYbdVGfNp7S08KKw.jpeg</url>
            <title>Stories by Yusuf Duman on Medium</title>
            <link>https://medium.com/@yusuf_duman?source=rss-eb2adc093400------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 03:21:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yusuf_duman/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How To Make Customizable Editor Windows Simply In Unity]]></title>
            <link>https://medium.com/@yusuf_duman/how-to-make-customizable-editor-windows-simply-in-unity-6381e9ff311f?source=rss-eb2adc093400------2</link>
            <guid isPermaLink="false">https://medium.com/p/6381e9ff311f</guid>
            <category><![CDATA[unity3d]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[unity-editor]]></category>
            <category><![CDATA[unity-game-development]]></category>
            <category><![CDATA[unity]]></category>
            <dc:creator><![CDATA[Yusuf Duman]]></dc:creator>
            <pubDate>Thu, 21 Jul 2022 20:38:50 GMT</pubDate>
            <atom:updated>2022-07-21T20:38:50.173Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Awesome people!</p><p>I am sure you realized there are already many editor windows in unity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Kvtm-JOPLNv7syzdGWshA.png" /><figcaption>The Font Asset Creator Editor Window on the right side</figcaption></figure><p>Did you know that you are able to make these cool customizable editor windows that can be very useful at some points in your development process in unity?</p><p>Now we will have a look at how to make these Editor Windows. I assure you it will be simple and fun!</p><p>We will make a simple<em> Ball Manager </em>project in which we can set the <em>name, position, size, activeness, </em>and <em>color</em> of ball game objects in our own Editor Window.</p><blockquote><strong>What will we have in our window:</strong></blockquote><blockquote><strong>Label </strong>- just a simple text</blockquote><blockquote><strong>TextField </strong>- To set name</blockquote><blockquote><strong>Slide </strong>- To set size</blockquote><blockquote><strong>Vector3Field </strong>- To set position</blockquote><blockquote><strong>ColorField</strong> - To set color</blockquote><blockquote><strong>Toggle </strong>- to set activness</blockquote><blockquote><strong>Button - To apply changes</strong></blockquote><p>Let’s Start!</p><h3>Preparing The Scene</h3><p>From start, we will create two ball game objects and attach different materials to them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-pSAvWI7SX77pgp-oDMH6Q.png" /></figure><h3><strong>Opening a Window</strong></h3><p>First, we create a new C# script named BallManager and add the UnityEditor library to be able to use its methods and properties.</p><p>Then we need to convert our default MonoBehaviour script into EditorWindow because our script will be an EditorWindow, not a GameObject script.</p><pre>using UnityEngine;<br><strong>using UnityEditor;</strong></pre><pre>public class BallManager : <strong>EditorWindow</strong><br>{<br>}</pre><p>Now we can set where to find our window.</p><pre>[MenuItem(&quot;My Editors/Ball Manager Editor&quot;)]</pre><p>Finally, we code to show a window!</p><pre>[MenuItem(&quot;My Editors/Ball Manager Editor&quot;)]</pre><pre> static void ShowWindow()<br> {<br>     // The title of the window will be <strong>Ball Manager</strong> <br>     EditorWindow window = GetWindow&lt;BallManager&gt;(&quot;<strong>Ball Manager</strong>&quot;);<br>     window.Show();<br> }</pre><p>Now we should see this field on the top navigator and open a blank window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IKwDRLeP5QA83Rm8da1E6w.png" /></figure><h3>Drawing Into Window</h3><p>Time to fill out our blank window!</p><p>We will do all our work in<strong> </strong>the <strong>OnGUI</strong> method which lets us add GUI elements (texts, input fields, buttons etc) into the window.</p><p>We will use EditorGUILayout or GUILayout to draw the GUI elements.</p><p>Simply what we will do is create the necessary input fields and then apply changes to the game object with an <em>Apply </em>button.</p><p>Let’s start with adding a simple label.</p><pre>EditorGUILayout.LabelField(&quot;Start Managing Balls!!!&quot;);</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*EKmC5xXt7YEdE3hmNLCbbA.png" /></figure><p>That’s very easy! Now we continue with adding TextField to change the name of the ball.</p><p>To do that, we need to have a string variable to get what is written in the TextField.</p><pre>string name;</pre><pre>private void OnGUI()<br>{<br>    EditorGUILayout.LabelField(&quot;Start Managing Balls!!&quot;);<br>    name = EditorGUILayout.TextField(&quot;Name&quot;,name);<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*5WdbDsbLov6NMgwlgNQGKg.png" /></figure><p>That’s almost all we need to know!</p><p>Now let’s do the same thing for the slider, Vector3Field, ColorField, and Toggle.</p><p>Also adding some spaces will provide us with a better look.</p><pre>string name;<br>Vector3 position;<br>float size;<br>Color color;<br>bool isActive;</pre><pre>private void OnGUI()<br>{<br>    EditorGUILayout.Space(2);<br>    EditorGUILayout.LabelField(&quot;Start Managing Balls!!&quot;);       <br>    EditorGUILayout.Space(5);</pre><pre>    name = EditorGUILayout.<strong>TextField</strong>(&quot;Name&quot;,name);<br>    EditorGUILayout.Space(2);<br> <br>    position = EditorGUILayout.<strong>Vector3Field</strong>(&quot;position&quot;, position);<br>    EditorGUILayout.Space(2);</pre><pre>    //slider will change the value between 0.5 - 10<br>    size = EditorGUILayout.<strong>Slider</strong>(&quot;Size&quot;, size, <strong>0.5f</strong>,<strong> 10</strong>);<br>    EditorGUILayout.Space(2);</pre><pre>    color = EditorGUILayout.<strong>ColorField</strong>(&quot;Color&quot;, color);<br>    EditorGUILayout.Space(2);</pre><pre>    isActive = EditorGUILayout.<strong>Toggle</strong>(&quot;Is Active&quot;, isActive);<br>    EditorGUILayout.Space(2);<br>}</pre><p>In the code above, the common thing is that<strong> we give the name of the field as the first parameter</strong>,<strong> the variable which will be given to the field as the second parameter</strong> to the methods.</p><p>And the result is pretty good!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*jC9Nobf_sRvxbVwC-dbSBw.png" /></figure><h3>Applying the Changes With Button</h3><p>We got every input we need. Now time to use them to change our game objects’ features.</p><p>We will create a button as a parameter to an <strong>if. </strong>Then, inside the if block, we code what we want to happen after the button is clicked.</p><p>In our example, we will use the previously created variables to change the selected Ball object’s properties.</p><pre>if (GUILayout.Button(&quot;Apply&quot;)) <strong>//Creat a Button named <em>Apply</em></strong><br>{<br><strong>    // Get the selected GameObject in the Hierarchy</strong><br>    GameObject gameObject = Selection.activeGameObject; </pre><pre>    <strong>//Change its properties by using changed variables in the window </strong>  <br>    gameObject.name = name;<br>    gameObject.transform.position = position;<br>    gameObject.transform.localScale = new Vector3(size, size, size);<br>    gameObject.GetComponent&lt;Renderer&gt;().sharedMaterial.color=color;<br>    gameObject.SetActive(isActive);<br>}</pre><p>Here is How it looks <strong>at first:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a0w0pU0psXfx3Qup33eOdQ.png" /></figure><p>And here is how it is <strong>after clicking the Apply Button:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*C7Beg4RxE6UIvnJt25URlw.png" /></figure><p>Here we can see the whole code :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*5EKhlnx895-HFaBOpUqENw.png" /><figcaption>Ball Manager - Whole code</figcaption></figure><h3><strong>The End</strong></h3><p>That was it for now. I hope you guys liked it and found it useful.</p><p>You can <strong>Follow </strong>me to hear from my next articles and support me. I would be also grateful for any <strong>Feedback</strong>.</p><p>You can also see a bit more advanced sample for the usage of Editor Windows in Unity: <a href="https://github.com/yusufdmn/Animator-test-kit.git"><strong>Animator Test Editor</strong></a></p><p><strong><em>Note that</em></strong> Editor Windows in Unity has many more customizable options to offer you. Here are some links to see much more about Editor Windows in Unity: <a href="https://docs.unity3d.com/ScriptReference/EditorWindow.html"><strong>EditorWindow</strong></a><strong>, </strong><a href="https://docs.unity3d.com/ScriptReference/EditorGUILayout.html"><strong>EditorGUILayout</strong></a><strong>, </strong><a href="https://docs.unity3d.com/ScriptReference/GUILayout.html"><strong>GUILayout</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6381e9ff311f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Best Free Places To Learn Unity - Game Development]]></title>
            <link>https://medium.com/@yusuf_duman/5-best-free-places-to-learn-unity-game-development-a1b0550df47f?source=rss-eb2adc093400------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1b0550df47f</guid>
            <category><![CDATA[unity]]></category>
            <category><![CDATA[unity3d]]></category>
            <category><![CDATA[get-started]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[unity-tutorial]]></category>
            <dc:creator><![CDATA[Yusuf Duman]]></dc:creator>
            <pubDate>Mon, 18 Jul 2022 18:30:06 GMT</pubDate>
            <atom:updated>2023-07-24T23:37:36.801Z</atom:updated>
            <content:encoded><![CDATA[<h3>5 Best Free Places to Learn Unity - Game Development</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jCWWyrr4nRo6FSyfYNFe7A.png" /></figure><p>Hello awesome people,</p><p>If you decided to make your dream games real, you end up learning Unity.</p><p>Unity is one of the most used and popular Game Engines that make your work much easier by providing so many pre-built functionalities and features. Simply, it lets you create your awesome games easily.</p><p>Unity is also free to use and there are so many tutorials for it. This presence of so many resources causes confusion and being lost in random tutorials.</p><blockquote><strong>Note That</strong> to make games in Unity, you need to know programming with C#. But nothing to worry about! I will be sharing where to start below.</blockquote><p>Now Let’s See The Best Places To Learn Unity!</p><h3>Brackeys</h3><figure><a href="https://www.youtube.com/c/Brackeys"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tuGE6oPoUGQJsFKVM4ZvDA.png" /></a><figcaption>Brackeys - Youtube Channel</figcaption></figure><p>Brackeys is one of the best resources that exist to learn Unity so far. Its tutorials are also supported by Unity officially. You will find almost everything you need as you started learning about Unity.</p><p>Let me also tell you that Brackey’s isn’t only for <strong>beginners</strong>, it has many <strong>intermediate and advanced</strong> tutorials for Unity Developers at any level.</p><p>The best thing about Brackeys is that you can follow its tutorials<strong> from scratch to advance levels in sorted playlists</strong>. So you won’t need to worry about what to learn next always. Brackeys did it for you so well!</p><p>If you don’t know C# yet, your start point is <a href="https://youtube.com/playlist?list=PLPV2KyIb3jR6ZkG8gZwJYSjnXxmfPAl51"><strong>How To Program In C#</strong></a></p><p>If you are Beginner you can start with <a href="https://youtube.com/playlist?list=PLPV2KyIb3jR5QFsefuO2RlAgWEz6EvVi6"><strong>Unity Beginner Tutorial</strong></a></p><p>For its all content: <a href="https://www.youtube.com/c/Brackeys"><strong>Brackeys</strong></a></p><h3>Jason Weimann</h3><figure><a href="https://www.youtube.com/c/Unity3dCollege"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AtsASDBfBv802rB51G6rYw.png" /></a><figcaption>Jason Weimann - Youtube Channel</figcaption></figure><p>Jason Weimann is another Youtube channel where you can learn Unity <strong>from scratch to an advanced level</strong> thanks to its hundreds of useful videos. You can find many videos with different concepts.</p><p>Besides tutorials, It has useful tips for Game Developers too.</p><p>For ones who get started with Unity:<strong> </strong><a href="https://youtu.be/Lu76c85LhGY"><strong>Complete One Video Unity Tutorial For Beginners</strong></a><strong>.</strong></p><p>It also has several <a href="https://youtube.com/playlist?list=PLB5_EOMkLx_Xx1W6l2WqgyI9Ji19D-Ksc"><strong>Game Tutorials</strong></a> in one video which are very useful for especially beginners to get more familiar with developing games in Unity and practice.</p><p>For its all content: <a href="https://www.youtube.com/c/Unity3dCollege"><strong>Jason Weimann</strong></a></p><h3>Jonas Tyroller</h3><figure><a href="https://www.youtube.com/c/JonasTyroller"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hUL__ZXe1mc5u9Ig8yeEJA.png" /></a><figcaption>Jonas Tyroller - Youtube Channel</figcaption></figure><p>Another great resource for learning Unity is Jonas Tyroller’s Youtube channel.</p><p>He is an Indie Game Developer who shares educational videos. You can also witness his indie games’ development process and learn from his projects as well.</p><p>Jonas has content for beginners and many for advances.</p><p>For his Beginner Tutorial which starts from installing Unity to completing games: <a href="https://youtube.com/playlist?list=PLgsD7taGtaBiIANshIyvHBDXdmT26zN9h"><strong>Unity 3D For Beginners</strong></a></p><p>For his all content: <a href="https://www.youtube.com/c/JonasTyroller"><strong>Jonas Tyroller</strong></a></p><h3>Imphenzia</h3><figure><a href="https://www.youtube.com/c/Imphenzia"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X0O9yeXjfuQkX2079fDsNw.png" /></a><figcaption>Imphenzia - Youtube Channel</figcaption></figure><p>If you want to learn both Unity and 3D Modelling, Imphenzia is totally for you!</p><p>In this channel, besides learning how to make games in Unity, you can learn how to build your own cool 3D Models for your games with Blender as well!</p><p>After the learning process, you can find its videos where he makes 3D models, imports models into Unity, and makes games by using them. No doubt it will give you great practice!</p><p>Are you Beginner at Unity? That’s for you: <a href="https://youtu.be/pwZpJzpE2lQ"><strong>The Most Basic Tutorial</strong></a></p><p>For Unity Tutorials: <a href="https://youtube.com/playlist?list=PLC7nmYI-cbT1uGmB9_D74VIUh7qN_YsH5"><strong>Unity Tutorials</strong></a></p><p>For Blender Tutorials: <a href="https://youtube.com/playlist?list=PLC7nmYI-cbT1gLvOzU-pcIZKbPezbRSyz"><strong>Blender Tutorials</strong></a></p><h3>Unity Learn</h3><figure><a href="https://learn.unity.com/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FTimAGHHa7VBNy7KE9P0ww.png" /></a></figure><p>Finally, Unity Learn is directly from Unity itself.</p><p>It is where you can find everything you need in Unity.</p><p>you will find some pathways as you see above in the image. And pathways are perfect to learn without getting lost in tutorials.</p><p>All you need is to choose a pathway depending on your level and just follow it step by step! You will find yourself where you want to be at the end of the pathways.</p><p>To go to Unity Learn: <a href="https://learn.unity.com/"><strong>Unity Learn</strong></a></p><h3>The End</h3><p>Those are the 5 best places where you can learn Unity. I wish you all an awesome journey with Game Development!</p><p>You can <strong>Follow Me</strong> to hear from my next articles about Game Development. Also, any <strong>Feedback </strong>would be pleasant for me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1b0550df47f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>