UnityEngine.GameObject.BroadcastMessage C# (CSharp) 메소드

BroadcastMessage() 공개 메소드

public BroadcastMessage ( string methodName ) : void
methodName string
리턴 void
		public void BroadcastMessage(string methodName){}
		public void BroadcastMessage(string methodName, SendMessageOptions options){}

Same methods

GameObject::BroadcastMessage ( string methodName, SendMessageOptions options ) : void
GameObject::BroadcastMessage ( string methodName, System parameter ) : void
GameObject::BroadcastMessage ( string methodName, System parameter, SendMessageOptions options ) : void

Usage Example

예제 #1
1
파일: Tower.cs 프로젝트: nallelcm/TD
 protected void ShotHit(GameObject target)
 {
     if (target != null) { target.BroadcastMessage("TakeDamage", damage); }
 }
All Usage Examples Of UnityEngine.GameObject::BroadcastMessage