mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
UI updates
This commit is contained in:
parent
7f655d1899
commit
44e7d76b08
@ -1344,7 +1344,79 @@ MonoBehaviour:
|
||||
m_TargetGraphic: {fileID: 5678319891227221141}
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Calls:
|
||||
- m_Target: {fileID: 5678319891227221139}
|
||||
m_TargetAssemblyTypeName: UnityEngine.UI.Selectable, UnityEngine.UI
|
||||
m_MethodName: set_interactable
|
||||
m_Mode: 6
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
- m_Target: {fileID: 5678319891599719911}
|
||||
m_TargetAssemblyTypeName: UnityEngine.UI.Selectable, UnityEngine.UI
|
||||
m_MethodName: set_interactable
|
||||
m_Mode: 6
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
- m_Target: {fileID: 5678319891602522471}
|
||||
m_TargetAssemblyTypeName: UnityEngine.UI.Selectable, UnityEngine.UI
|
||||
m_MethodName: set_interactable
|
||||
m_Mode: 6
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
- m_Target: {fileID: 5678319890702232806}
|
||||
m_TargetAssemblyTypeName: UnityEngine.UI.Selectable, UnityEngine.UI
|
||||
m_MethodName: set_interactable
|
||||
m_Mode: 6
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
- m_Target: {fileID: 5678319892247375075}
|
||||
m_TargetAssemblyTypeName: UnityEngine.UI.Selectable, UnityEngine.UI
|
||||
m_MethodName: set_interactable
|
||||
m_Mode: 6
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
- m_Target: {fileID: 5678319890880056360}
|
||||
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
|
||||
m_MethodName: SetActive
|
||||
m_Mode: 6
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
--- !u!1 &5678319891365071455
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -2366,7 +2438,79 @@ MonoBehaviour:
|
||||
m_TargetGraphic: {fileID: 5678319892058295298}
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Calls:
|
||||
- m_Target: {fileID: 5678319892058295296}
|
||||
m_TargetAssemblyTypeName: UnityEngine.UI.Selectable, UnityEngine.UI
|
||||
m_MethodName: set_interactable
|
||||
m_Mode: 6
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
- m_Target: {fileID: 5678319891599719911}
|
||||
m_TargetAssemblyTypeName: UnityEngine.UI.Selectable, UnityEngine.UI
|
||||
m_MethodName: set_interactable
|
||||
m_Mode: 6
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
- m_Target: {fileID: 5678319891602522471}
|
||||
m_TargetAssemblyTypeName: UnityEngine.UI.Selectable, UnityEngine.UI
|
||||
m_MethodName: set_interactable
|
||||
m_Mode: 6
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
- m_Target: {fileID: 5678319890702232806}
|
||||
m_TargetAssemblyTypeName: UnityEngine.UI.Selectable, UnityEngine.UI
|
||||
m_MethodName: set_interactable
|
||||
m_Mode: 6
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
- m_Target: {fileID: 5678319892247375075}
|
||||
m_TargetAssemblyTypeName: UnityEngine.UI.Selectable, UnityEngine.UI
|
||||
m_MethodName: set_interactable
|
||||
m_Mode: 6
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
- m_Target: {fileID: 5678319890880056360}
|
||||
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
|
||||
m_MethodName: SetActive
|
||||
m_Mode: 6
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
--- !u!1 &5678319892099773448
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -2641,7 +2785,10 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 1298a3cb78b81e745a5f5d21a02cbe5d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
networkAddressDropdown: {fileID: 5678319891599719911}
|
||||
usernameInput: {fileID: 5678319891602522471}
|
||||
ninjaToggle: {fileID: 5678319890702232806}
|
||||
multiplierInput: {fileID: 5678319892247375075}
|
||||
hostButton: {fileID: 5678319891227221139}
|
||||
clientButton: {fileID: 5678319892058295296}
|
||||
errorText: {fileID: 5678319890880056535}
|
||||
|
@ -214,88 +214,40 @@ PrefabInstance:
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 462720268}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[1].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 462720267}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[2].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201138}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
|
||||
value: SetActive
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[1].m_MethodName
|
||||
value: SetActive
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
|
||||
value: UnityEngine.GameObject, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[1].m_TargetAssemblyTypeName
|
||||
value: UnityEngine.GameObject, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[2].m_TargetAssemblyTypeName
|
||||
value: UnityEngine.GameObject, UnityEngine
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[2].m_MethodName
|
||||
value: SetNinja
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
|
||||
value: 7
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_Mode
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_Mode
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201135}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201135}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_CallState
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_CallState
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_MethodName
|
||||
value: StartHost
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_MethodName
|
||||
value: StartHost
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_TargetAssemblyTypeName
|
||||
value: Mirror.NetworkManager, Mirror
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_TargetAssemblyTypeName
|
||||
value: Mirror.NetworkManager, Mirror
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
|
||||
value: UnityEngine.Object, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_Arguments.m_ObjectArgumentAssemblyTypeName
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_Arguments.m_ObjectArgumentAssemblyTypeName
|
||||
value: UnityEngine.Object, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891599719911, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
@ -310,21 +262,13 @@ PrefabInstance:
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
|
||||
value: TestNT.TestNTNetworkManager, Mirror.Examples
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891602522471, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 462720269}
|
||||
- target: {fileID: 5678319891602522471, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[1].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201138}
|
||||
- target: {fileID: 5678319891602522471, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
|
||||
value: ToggleButtons
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891602522471, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
|
||||
value: TestNT.LoginUI, Mirror.Examples
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[1].m_MethodName
|
||||
value: SetPlayername
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891602522471, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[1].m_TargetAssemblyTypeName
|
||||
@ -332,54 +276,30 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
|
||||
value: 7
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_Mode
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_Mode
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201135}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201135}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_CallState
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_CallState
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_MethodName
|
||||
value: StartClient
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_MethodName
|
||||
value: StartClient
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_TargetAssemblyTypeName
|
||||
value: Mirror.NetworkManager, Mirror
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_TargetAssemblyTypeName
|
||||
value: Mirror.NetworkManager, Mirror
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
|
||||
value: UnityEngine.Object, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_Arguments.m_ObjectArgumentAssemblyTypeName
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_Arguments.m_ObjectArgumentAssemblyTypeName
|
||||
value: UnityEngine.Object, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892216973633, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
@ -480,27 +400,6 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
--- !u!1 &462720267 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 5678319892247375077, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
m_PrefabInstance: {fileID: 462720266}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &462720268 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 5678319891107958447, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
m_PrefabInstance: {fileID: 462720266}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &462720269 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 5678319892216973637, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
m_PrefabInstance: {fileID: 462720266}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1298a3cb78b81e745a5f5d21a02cbe5d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &821201133
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -581,113 +581,61 @@ PrefabInstance:
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 5678319891357624153}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[1].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 5678319891357624152}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[2].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201138}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
|
||||
value: SetActive
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[1].m_MethodName
|
||||
value: SetActive
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[2].m_MethodName
|
||||
value: SetNinja
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
|
||||
value: UnityEngine.GameObject, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[1].m_TargetAssemblyTypeName
|
||||
value: UnityEngine.GameObject, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319890702232806, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[2].m_TargetAssemblyTypeName
|
||||
value: TestNT.TestNTNetworkAuthenticator, Mirror.Examples
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
|
||||
value: 7
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_Mode
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_Mode
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201135}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201135}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_CallState
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_CallState
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_MethodName
|
||||
value: StartHost
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_MethodName
|
||||
value: StartHost
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_TargetAssemblyTypeName
|
||||
value: Mirror.NetworkManager, Mirror
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_TargetAssemblyTypeName
|
||||
value: Mirror.NetworkManager, Mirror
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
|
||||
value: UnityEngine.Object, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891227221139, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_Arguments.m_ObjectArgumentAssemblyTypeName
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_Arguments.m_ObjectArgumentAssemblyTypeName
|
||||
value: UnityEngine.Object, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891599719911, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201135}
|
||||
- target: {fileID: 5678319891602522471, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 5678319891357624154}
|
||||
- target: {fileID: 5678319891599719911, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
|
||||
value: OnSelectServer
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891599719911, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
|
||||
value: TestNT.TestNTNetworkManager, Mirror.Examples
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891602522471, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[1].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201138}
|
||||
- target: {fileID: 5678319891602522471, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
|
||||
value: ToggleButtons
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891602522471, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
|
||||
value: TestNT.LoginUI, Mirror.Examples
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[1].m_MethodName
|
||||
value: SetPlayername
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319891602522471, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[1].m_TargetAssemblyTypeName
|
||||
@ -695,54 +643,30 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
|
||||
value: 7
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_Mode
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_Mode
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201135}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201135}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_CallState
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_CallState
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_MethodName
|
||||
value: StartClient
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_MethodName
|
||||
value: StartClient
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_TargetAssemblyTypeName
|
||||
value: Mirror.NetworkManager, Mirror
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_TargetAssemblyTypeName
|
||||
value: Mirror.NetworkManager, Mirror
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
|
||||
value: UnityEngine.Object, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892058295296, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[1].m_Arguments.m_ObjectArgumentAssemblyTypeName
|
||||
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_Arguments.m_ObjectArgumentAssemblyTypeName
|
||||
value: UnityEngine.Object, UnityEngine
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5678319892216973633, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
@ -837,26 +761,9 @@ PrefabInstance:
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_Target
|
||||
value:
|
||||
objectReference: {fileID: 821201138}
|
||||
- target: {fileID: 5678319892247375075, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
|
||||
value: SetMultiplier
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
--- !u!1 &5678319891357624152 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 5678319892247375077, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
m_PrefabInstance: {fileID: 5678319891357624151}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &5678319891357624153 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 5678319891107958447, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
m_PrefabInstance: {fileID: 5678319891357624151}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &5678319891357624154 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 5678319892216973637, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3}
|
||||
m_PrefabInstance: {fileID: 5678319891357624151}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 1298a3cb78b81e745a5f5d21a02cbe5d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
|
@ -6,9 +6,16 @@ namespace TestNT
|
||||
public class LoginUI : MonoBehaviour
|
||||
{
|
||||
[Header("UI Elements")]
|
||||
[SerializeField] internal TMPro.TMP_Dropdown networkAddressDropdown;
|
||||
|
||||
[SerializeField] internal InputField usernameInput;
|
||||
|
||||
[SerializeField] internal Toggle ninjaToggle;
|
||||
[SerializeField] internal InputField multiplierInput;
|
||||
|
||||
[SerializeField] internal Button hostButton;
|
||||
[SerializeField] internal Button clientButton;
|
||||
|
||||
[SerializeField] internal Text errorText;
|
||||
|
||||
public static LoginUI instance;
|
||||
|
@ -229,6 +229,13 @@ public void OnAuthResponseMessage(AuthResponseMessage msg)
|
||||
NetworkManager.singleton.StopHost();
|
||||
|
||||
// Do this AFTER StopHost so it doesn't get cleared / hidden by OnClientDisconnect
|
||||
LoginUI.instance.networkAddressDropdown.interactable = true;
|
||||
LoginUI.instance.usernameInput.interactable = true;
|
||||
LoginUI.instance.ninjaToggle.interactable = true;
|
||||
LoginUI.instance.multiplierInput.interactable = true;
|
||||
|
||||
LoginUI.instance.ToggleButtons(playerName);
|
||||
|
||||
LoginUI.instance.errorText.text = msg.message;
|
||||
LoginUI.instance.errorText.gameObject.SetActive(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user