Skip to content
View edgpedroso's full-sized avatar

Block or report edgpedroso

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Unity - Rounded Cube Collider (using... Unity - Rounded Cube Collider (using primitives)
    1
    // Rounded Cube Collider
    2
    // https://gist.github.com/edgpedroso/850d3606bceef61bb3c6a858d29fce69
    3
    // Code is modified from @jasper-flick/CatLikeCoding
    4
    // https://catlikecoding.com/unity/tutorials/rounded-cube/
    5
    using System.Collections.Generic;
  2. Unity - Draws an icon on top of defa... Unity - Draws an icon on top of default prefab icons on the Project window.
    1
    // Prefab Custom Icon Drawer
    2
    // https://gist.github.com/edgpedroso/f7827a817748b27b19a7ebb13b991db3
    3
    
                  
    4
    using UnityEditor;
    5
    using UnityEngine;
  3. New.cs New.cs
    1
    namespace New
    2
    {
    3
        class @new<NewNew> : @new where NewNew : @new<NewNew>, new()
    4
        {
    5
            @new(@new<NewNew> @new) => New(@new);
  4. Unity - Dynamic Singleton. Use anywh... Unity - Dynamic Singleton. Use anywhere, with any unity object, without any implementation in target class. Requires C# 8.0 (Unity 2020)
    1
    // Dynamic UnityEngine Singleton
    2
    // Use anywhere, with any unity object, without any implementation in target class. Requires C# 8.0 (Unity 2020)
    3
    // Usage: var obj = ISingleton<SomeUnityObjectClass>.Instance;
    4
    // Pros: Flexibility, ~Less Boilerplate
    5
    // Cons: Something will go wrong eventually