-
TruPhysics
- Munich
- in/julian-limburg-799053280
Highlights
- Pro
Block or Report
Block or report nailuj05
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
FusionWater
FusionWater PublicA simple way to add buoyancy / water physics in Unity, built on the existing physics engine
-
A simple extension method for Unity ...
A simple extension method for Unity C# this gets or adds a given Component. (SphereCollider coll = gameObject.GetOrAddComponent<SphereCollider>();) 1public static class Extensions
2{
3public static T GetOrAddComponent<T>(this GameObject gameObject) where T : Component
4{
5if(gameObject.TryGetComponent<T>(out T t))
-
Clean Unity Singleton Implementation...
Clean Unity Singleton Implementation. Inherit from Singleton<ExampleClass> to use it. Access the Singleton using ExampleClass.main 1public class Singleton<T> : MonoBehaviour where T : MonoBehaviour
2{
3private static T instance;
45public static T main
-
A simple way to add a collider to a ...
A simple way to add a collider to a Unity LineRenderer, intended for 2D use, can be adapted to 3D aswell! 1using UnityEngine;
23[RequireComponent(typeof(BoxCollider2D), typeof(LineRenderer))]
4public class LineCollider : MonoBehaviour
5{
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.