UnityEngine.GameObject.SendMessageUpwards C# (CSharp) Method

SendMessageUpwards() public method

public SendMessageUpwards ( string methodName ) : void
methodName string
return void
		public void SendMessageUpwards(string methodName){}
		public void SendMessageUpwards(string methodName, SendMessageOptions options){}

Same methods

GameObject::SendMessageUpwards ( string methodName, SendMessageOptions options ) : void
GameObject::SendMessageUpwards ( string methodName, System value ) : void
GameObject::SendMessageUpwards ( string methodName, System value, SendMessageOptions options ) : void

Usage Example

コード例 #1
0
ファイル: InputToEvent.cs プロジェクト: jdohgamer/SSC
 private void Press(Vector2 screenPos)
 {
     lastGo = RaycastObject(screenPos);
     if (lastGo != null)
     {
         lastGo.SendMessageUpwards("OnPress", SendMessageOptions.DontRequireReceiver);
     }
 }
All Usage Examples Of UnityEngine.GameObject::SendMessageUpwards