document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. using UnityEngine;
  2. using UnityEngine.Events;
  3.  
  4. public class SetValueOnStart : MonoBehaviour
  5. {
  6.     public UnityEvent onStart;
  7.     void Start()
  8.     {
  9.         if (onStart != null)
  10.             onStart.Invoke();
  11.     }
  12. }
');