文档

Unity Engine

Unity Engine

RequireReceiver

A receiver is required for SendMessage.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
RequireReceiver = 0

Remarks

If no receiver is found, an error is printed to the console. (This is the default value.) Additional Resources: GameObject.SendMessage