Changed NetworkedBehaviour isOwner to public
This commit is contained in:
parent
8e2db5131a
commit
6c799b0712
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user