Skip to content

Instantly share code, notes, and snippets.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class #SCRIPTNAME# : MonoBehaviour {
// Use this for initialization
void Start () {
#NOTRIM#
}
@ZeredaGames
ZeredaGames / EditorWindowTutorial.cs
Created February 27, 2019 14:55
Thit is whats up next.
#region using
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
//using UnityEngine.UI;
//using UnityEngine.SceneManagement;
//using System;
//using System.Collections;
@ZeredaGames
ZeredaGames / Example.cs
Last active February 27, 2019 14:52
A MonoBehavior Music list for in the scene. Used in our example.
#region using
using UnityEngine;
//#if UNITY_EDITOR
//using UnityEditor;
//#endif
//using UnityEngine.UI;
//using UnityEngine.SceneManagement;
//using System;
//using System.Collections;
@ZeredaGames
ZeredaGames / MusicAssetList.cs
Last active February 27, 2019 13:25
Option B
#region usings
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
//using UnityEngine.UI;
//using UnityEngine.SceneManagement;
//using System;
//using System.Collections;
@ZeredaGames
ZeredaGames / MusicAssetList.cs
Last active February 27, 2019 13:39
Option A
#region usings
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
//using UnityEngine.UI;
//using UnityEngine.SceneManagement;
//using System;
//using System.Collections;
@ZeredaGames
ZeredaGames / MusicAssetList.cs
Last active February 27, 2019 12:36
Example on where to start. ScriptableObject.
#region usings
using UnityEngine;
//#if UNITY_EDITOR
//using UnityEditor;
//#endif
//using UnityEngine.UI;
//using UnityEngine.SceneManagement;
//using System;
//using System.Collections;
@ZeredaGames
ZeredaGames / EditorWindowTutorial.cs
Last active February 27, 2019 10:16
Expanding furthuer on our code.
namespace ZeredaGamesEngine.Core.MusicListsExamples.Example3
{
#region Attributes
//[RequireComponent (typeof())]
//[System.Serializable]
#endregion
@ZeredaGames
ZeredaGames / EditorWindowTutorial.cs
Last active February 27, 2019 10:02
Next Step in tutorial
#region using
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
//using UnityEngine.UI;
//using UnityEngine.SceneManagement;
//using System;
//using System.Collections;
@ZeredaGames
ZeredaGames / EditorWindowTutorial.cs
Created February 27, 2019 09:33
Example part B of what we need to change first.
#region using
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
//using UnityEngine.UI;
//using UnityEngine.SceneManagement;
//using System;
//using System.Collections;
@ZeredaGames
ZeredaGames / EditorWindowTutorialMonoDontUse.cs
Created February 27, 2019 09:33
Example part A of what we need to change first in a new script
#region using
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
//using UnityEngine.UI;
//using UnityEngine.SceneManagement;
//using System;
//using System.Collections;