Example #1
0
 /// <summary>
 /// Awake this instance.
 /// </summary>
 protected virtual void Awake()
 {
     Play.RegisterBehaviour(this);
 }
Example #2
0
 /// <summary>
 /// only for unit test in windows or mono.
 /// </summary>
 public PlayMonoBehaviour()
 {
     Play.RegisterBehaviour(this);
 }