mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-04-16 05:42:52 +00:00
update dialogue boxes
This commit is contained in:
parent
c505c01390
commit
b5320e110a
Binary file not shown.
@ -1,12 +1,12 @@
|
|||||||
ManifestFileVersion: 0
|
ManifestFileVersion: 0
|
||||||
CRC: 2873277448
|
CRC: 2681871399
|
||||||
Hashes:
|
Hashes:
|
||||||
AssetFileHash:
|
AssetFileHash:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
Hash: 2fa456f0727e9c3b70108af0a1278f56
|
Hash: d9191ca383ce2fbef699ba7106af389e
|
||||||
TypeTreeHash:
|
TypeTreeHash:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
Hash: 50a27bfc3e679077929938a6fa57f4db
|
Hash: a0ed95779b7375b06978e51f19fbfba7
|
||||||
HashAppended: 0
|
HashAppended: 0
|
||||||
ClassTypes:
|
ClassTypes:
|
||||||
- Class: 1
|
- Class: 1
|
||||||
@ -25,6 +25,10 @@ ClassTypes:
|
|||||||
Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
- Class: 114
|
- Class: 114
|
||||||
Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}
|
Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}
|
||||||
|
- Class: 114
|
||||||
|
Script: {fileID: 1015169618, guid: 27687deae413b90448366870cb0de502, type: 3}
|
||||||
|
- Class: 114
|
||||||
|
Script: {fileID: 602583937, guid: 27687deae413b90448366870cb0de502, type: 3}
|
||||||
- Class: 115
|
- Class: 115
|
||||||
Script: {instanceID: 0}
|
Script: {instanceID: 0}
|
||||||
- Class: 128
|
- Class: 128
|
||||||
@ -39,6 +43,6 @@ ClassTypes:
|
|||||||
Script: {instanceID: 0}
|
Script: {instanceID: 0}
|
||||||
SerializeReferenceClassIdentifiers: []
|
SerializeReferenceClassIdentifiers: []
|
||||||
Assets:
|
Assets:
|
||||||
- Assets/DialogueBubble.prefab
|
- Assets/Prefabs/DialogueBubble.prefab
|
||||||
- Assets/GameAssets/Texture2D/UI_DialogueBox_d.png
|
- Assets/GameAssets/Texture2D/UI_DialogueBox_d.png
|
||||||
Dependencies: []
|
Dependencies: []
|
||||||
|
@ -21,7 +21,7 @@ namespace QSB.ConversationSync
|
|||||||
{
|
{
|
||||||
Instance = this;
|
Instance = this;
|
||||||
|
|
||||||
_boxPrefab = QSBCore.ConversationAssetBundle.LoadAsset<GameObject>("assets/dialoguebubble.prefab");
|
_boxPrefab = QSBCore.ConversationAssetBundle.LoadAsset<GameObject>("assets/Prefabs/dialoguebubble.prefab");
|
||||||
|
|
||||||
var font = (Font)Resources.Load(@"fonts\english - latin\HVD Fonts - BrandonGrotesque-Bold_Dynamic");
|
var font = (Font)Resources.Load(@"fonts\english - latin\HVD Fonts - BrandonGrotesque-Bold_Dynamic");
|
||||||
if (font == null)
|
if (font == null)
|
||||||
@ -118,9 +118,7 @@ namespace QSB.ConversationSync
|
|||||||
newBox.transform.SetParent(parent);
|
newBox.transform.SetParent(parent);
|
||||||
newBox.transform.localPosition = new Vector3(0, vertOffset, 0);
|
newBox.transform.localPosition = new Vector3(0, vertOffset, 0);
|
||||||
newBox.transform.rotation = parent.rotation;
|
newBox.transform.rotation = parent.rotation;
|
||||||
newBox.AddComponent<CameraFacingBillboard>();
|
|
||||||
newBox.GetComponent<Text>().text = text;
|
newBox.GetComponent<Text>().text = text;
|
||||||
newBox.AddComponent<ZOverride>();
|
|
||||||
newBox.SetActive(true);
|
newBox.SetActive(true);
|
||||||
return newBox;
|
return newBox;
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ namespace QSB.Utility
|
|||||||
|
|
||||||
public static void Init()
|
public static void Init()
|
||||||
{
|
{
|
||||||
_boxPrefab = QSBCore.ConversationAssetBundle.LoadAsset<GameObject>("assets/dialoguebubble.prefab");
|
_boxPrefab = QSBCore.ConversationAssetBundle.LoadAsset<GameObject>("assets/Prefabs/dialoguebubble.prefab");
|
||||||
var font = (Font)Resources.Load(@"fonts\english - latin\spacemono-bold");
|
var font = (Font)Resources.Load(@"fonts\english - latin\spacemono-bold");
|
||||||
if (font == null)
|
if (font == null)
|
||||||
{
|
{
|
||||||
@ -28,9 +28,7 @@ namespace QSB.Utility
|
|||||||
newBox.transform.SetParent(parent);
|
newBox.transform.SetParent(parent);
|
||||||
newBox.transform.localPosition = new Vector3(0, vertOffset, 0);
|
newBox.transform.localPosition = new Vector3(0, vertOffset, 0);
|
||||||
newBox.transform.rotation = parent.rotation;
|
newBox.transform.rotation = parent.rotation;
|
||||||
newBox.AddComponent<CameraFacingBillboard>();
|
|
||||||
newBox.GetComponent<Text>().text = text;
|
newBox.GetComponent<Text>().text = text;
|
||||||
newBox.AddComponent<ZOverride>();
|
|
||||||
newBox.SetActive(true);
|
newBox.SetActive(true);
|
||||||
return newBox;
|
return newBox;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user