// EXECUTABLE: ---------------------------------------------------------------------------- public override bool InstantExecute(GameObject target, IAction[] actions, int index) { Photon.Realtime.Player player = this.target.GetPhotonPlayer(target); if (player == null) { Debug.LogWarning("Invalid Photon Player in " + target, gameObject); return(true); } if (type == DebugType.Property) { Debug.LogFormat("Player {0} property: {1} = {2}", player.NickName, property, player.GetProperty(property)); } else { Debug.Log(player.ToStringFull()); } return(true); }