Changed NetworkedBehaviour isOwner to public

This commit is contained in:
Albin Corén 2018-03-28 17:40:08 +02:00
parent 8e2db5131a
commit 6c799b0712

View File

@ -20,6 +20,13 @@ namespace MLAPI
return networkedObject.isLocalPlayer; return networkedObject.isLocalPlayer;
} }
} }
public bool isOwner
{
get
{
return networkedObject.isOwner;
}
}
protected bool isServer protected bool isServer
{ {
get get
@ -41,13 +48,6 @@ namespace MLAPI
return NetworkingManager.singleton.isHost; return NetworkingManager.singleton.isHost;
} }
} }
protected bool isOwner
{
get
{
return networkedObject.isOwner;
}
}
public NetworkedObject networkedObject public NetworkedObject networkedObject
{ {
get get