Skip to content

Instantly share code, notes, and snippets.

View sarkahn's full-sized avatar

sark sarkahn

  • Alberta, Canada
View GitHub Profile
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine.EventSystems;
/// <summary>
/// Node Behaviour representing a node. Assumes it's parent has a Layout Group.
/// </summary>
[RequireComponent(typeof(Image)),RequireComponent(typeof(VerticalLayoutGroup))]