https://docs.unity3d.com/Packages/[email protected]/manual/index.html
{
"dependencies": {
"com.rodrigoueda.unitybasecode": "https://github.com/rodrigoueda/com.rodrigoueda.unitybasecode.git#0.2.0"
}
}Use BaseBehaviour instead of the usual MonoBehaviour.
using UnityEngine;
using UnityBaseCode;
public class TestScript : BaseBehaviour
{
protected override void Awake()
{
base.Awake();
print(guid);
}
}using UnityEngine;
using UnityBaseCode;
public class TestSingleton : Singleton<TestSingleton>
{
public void PrintTest()
{
print("Test");
}
}using UnityEngine;
using UnityBaseCode;
public class TestScript : BaseBehaviour
{
private void Start()
{
TestSingleton.Instance.PrintTest();
}
}You can create custom Headers for your hierarchy through Project Settings menu.
By default, any GameObject with the name starting with "---" will be filter as a header. You can create additional filters each with a custom style.
Filter Query and Replace Query uses Regex
