Skip to content

Instantly share code, notes, and snippets.

@tsubaki
Created August 8, 2015 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsubaki/9fdd3fa2f80fc5db38b1 to your computer and use it in GitHub Desktop.
Save tsubaki/9fdd3fa2f80fc5db38b1 to your computer and use it in GitHub Desktop.
ArborとUIButtonの連携
using UnityEngine;
using System.Collections;
using Arbor;
public class UIButtonTransition : StateBehaviour {
[SerializeField]
private StateLink _NextState;
public void OnClick()
{
Transition(_NextState);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment