Skip to content

Instantly share code, notes, and snippets.

@ZeredaGames
Created December 30, 2018 03:22
Show Gist options
  • Save ZeredaGames/167c550000a21b3183c8196d5d1e747a to your computer and use it in GitHub Desktop.
Save ZeredaGames/167c550000a21b3183c8196d5d1e747a to your computer and use it in GitHub Desktop.
Unity Gizmo Function
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class DrawOnGizmoDrawWireCube : MonoBehaviour {
public Vector3 center, size;
public void OnDrawGizmos()
{
Gizmos.DrawWireCube(center,size);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment