9 [Script(ScriptRole.ClientOwner)]
 
   14         GameObject shooter = null;
 
   16         if (hit.
Details.HasChild(
"Shooter"))
 
   17             shooter = hit.
Details[
"Shooter"].GameObjectValue;
 
   21         if (trueSourceObject != null)
 
Describes a hit on an object. 
 
float Value
An arbitrary value describing the magnitude of the hit. Depends on receiver interpretation. 
 
static int GetOwner(GameObject go)
Gets the owner peer index of a given object. 
 
GameObject SourceObject
The object from which the hit originated. 
 
Attach to an Avatar to log inbound hits. Will only log hits from a source object is another player (o...
 
Class for managing study-related game components. 
 
static void LogEvent(Enum eventType, params object[] args)
Log a game event. 
 
UJeli Details
Additional hit details. 
 
This class server two main functions: 1) As a MonoBehaviour, it allows for network synchronization of...