Skip to content

Instantly share code, notes, and snippets.

@tsubaki
Created March 1, 2018 09:42
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/423620b2690bd5aa47a6374800b11a47 to your computer and use it in GitHub Desktop.
Save tsubaki/423620b2690bd5aa47a6374800b11a47 to your computer and use it in GitHub Desktop.
オブジェクトを登録する
using UnityEngine;
using UnityEngine.Events;
namespace RegisterObject
{
[DefaultExecutionOrder(-100)]
public class Register : MonoBehaviour
{
[SerializeField] UnityEvent onAwake;
void Awake()
{
onAwake.Invoke();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment