@@ -77,30 +77,45 @@ internal set
77
77
/// </summary>
78
78
[ SerializeField ]
79
79
public string PrefabHashGenerator ;
80
+ /// <summary>
81
+ /// Gets if this object is a player object
82
+ /// </summary>
80
83
[ Obsolete ( "Use IsPlayerObject instead" , false ) ]
81
84
public bool isPlayerObject => IsPlayerObject ;
82
85
/// <summary>
83
86
/// Gets if this object is a player object
84
87
/// </summary>
85
88
public bool IsPlayerObject { get ; internal set ; }
89
+ /// <summary>
90
+ /// Gets if the object is the the personal clients player object
91
+ /// </summary>
86
92
[ Obsolete ( "Use IsLocalPlayer instead" , false ) ]
87
93
public bool isLocalPlayer => IsLocalPlayer ;
88
94
/// <summary>
89
95
/// Gets if the object is the the personal clients player object
90
96
/// </summary>
91
97
public bool IsLocalPlayer => NetworkingManager . Singleton != null && IsPlayerObject && OwnerClientId == NetworkingManager . Singleton . LocalClientId ;
98
+ /// <summary>
99
+ /// Gets if the object is owned by the local player or if the object is the local player object
100
+ /// </summary>
92
101
[ Obsolete ( "Use IsOwner instead" , false ) ]
93
102
public bool isOwner => IsOwner ;
94
103
/// <summary>
95
104
/// Gets if the object is owned by the local player or if the object is the local player object
96
105
/// </summary>
97
106
public bool IsOwner => NetworkingManager . Singleton != null && OwnerClientId == NetworkingManager . Singleton . LocalClientId ;
107
+ /// <summary>
108
+ /// Gets wheter or not the object is owned by anyone
109
+ /// </summary>
98
110
[ Obsolete ( "Use IsOwnedByServer instead" , false ) ]
99
111
public bool isOwnedByServer => IsOwnedByServer ;
100
112
/// <summary>
101
113
/// Gets wheter or not the object is owned by anyone
102
114
/// </summary>
103
115
public bool IsOwnedByServer => NetworkingManager . Singleton != null && OwnerClientId == NetworkingManager . Singleton . ServerClientId ;
116
+ /// <summary>
117
+ /// Gets if the object has yet been spawned across the network
118
+ /// </summary>
104
119
[ Obsolete ( "Use IsSpawned instead" , false ) ]
105
120
public bool isSpawned => IsSpawned ;
106
121
/// <summary>
0 commit comments