Skip to content

Instantly share code, notes, and snippets.

@Ale10xp
Ale10xp / TransformExtensions.cs
Last active October 4, 2022 11:16
Unity Look At 2D
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class TransformExtensions {
#region LookAt2D
public static void LookAt2D(Transform who, Vector2 targetPos){