Skip to content

Instantly share code, notes, and snippets.

View Theo-Farnole's full-sized avatar
🥦

Theo Farnole Theo-Farnole

🥦
View GitHub Profile
@Theo-Farnole
Theo-Farnole / SerializedEditorWindow.cs
Created July 10, 2023 13:09
By inheriting from SerializedEditorWindow instead of EditorWindow, you can make Unity editor windows in exactly the same way you make inspectors: by using only attributes.
/**
*
* Inherit from SerializedEditorWindow, then mark field as [SerializeField] will make them appear in the window
*
* If you want to add some button, you can override OnGUI()
*
* Inspired by the OdinEditorWindow
* "By inheriting from SerializedEditorWindow instead of EditorWindow, you can make Unity editor windows in exactly the same way you make inspectors: by using only attributes."
**/
@vanifatovvlad
vanifatovvlad / ScriptableObject Creator for Unity.md
Last active October 2, 2024 05:48
ScriptableObject Creator

ScriptableObject Creator for Unity

A handy little ScriptableObject creator which eliminates the need for those annoying [CreateAssetMenu] attributes which are a nightmare to maintain and navigate.

Made with Odin Inspector

ScriptablObject Creator

The ScriptableObject creator has been originally made by Bjarke. Published on Odin Community Made Tools.

Improvements by VladV:

// Discord all events!
// A quick and dirty fleshing out of the discord.js event listeners (not tested at all!)
// listed here -> https://discord.js.org/#/docs/main/stable/class/Client
// Learn from this, do not just copy it mofo!
//
// Saved to -> https://gist.github.com/koad/316b265a91d933fd1b62dddfcc3ff584
// Last Updated -> Halloween 2022
/*
@lopspower
lopspower / README.md
Last active November 18, 2024 19:11
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@PurpleBooth
PurpleBooth / README-Template.md
Last active November 17, 2024 18:07
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites