Created
March 1, 2018 09:42
-
-
Save tsubaki/423620b2690bd5aa47a6374800b11a47 to your computer and use it in GitHub Desktop.
オブジェクトを登録する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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