mirror of
https://github.com/ConjureETS/DeathBook.git
synced 2026-03-24 04:20:58 +00:00
- Added anchors to the tutorial popups
This commit is contained in:
parent
4ff2acabe9
commit
9397215eb1
137
Assets/Prefabs/NetworkingSphereTutorial.prefab
Normal file
137
Assets/Prefabs/NetworkingSphereTutorial.prefab
Normal file
@ -0,0 +1,137 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &121098
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 4
|
||||||
|
m_Component:
|
||||||
|
- 4: {fileID: 485072}
|
||||||
|
- 33: {fileID: 3344238}
|
||||||
|
- 23: {fileID: 2342116}
|
||||||
|
- 114: {fileID: 11438324}
|
||||||
|
- 54: {fileID: 5425960}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: NetworkingSphereTutorial
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &485072
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 121098}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
--- !u!23 &2342116
|
||||||
|
MeshRenderer:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 121098}
|
||||||
|
m_Enabled: 0
|
||||||
|
m_CastShadows: 1
|
||||||
|
m_ReceiveShadows: 1
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_SubsetIndices:
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_UseLightProbes: 1
|
||||||
|
m_ReflectionProbeUsage: 1
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_PreserveUVs: 1
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_AutoUVMaxDistance: .5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingOrder: 0
|
||||||
|
--- !u!33 &3344238
|
||||||
|
MeshFilter:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 121098}
|
||||||
|
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
--- !u!54 &5425960
|
||||||
|
Rigidbody:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 121098}
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Mass: 1
|
||||||
|
m_Drag: 0
|
||||||
|
m_AngularDrag: .800000012
|
||||||
|
m_UseGravity: 0
|
||||||
|
m_IsKinematic: 0
|
||||||
|
m_Interpolate: 0
|
||||||
|
m_Constraints: 0
|
||||||
|
m_CollisionDetection: 0
|
||||||
|
--- !u!114 &11438324
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 121098}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: d11858fd0dc89d1409d681deb6fd8a07, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
gameObjects:
|
||||||
|
LinkObj: {fileID: 11495142, guid: fab430cecad80ad4391987a06b550cb7, type: 2}
|
||||||
|
PersonObj: {fileID: 11417564, guid: 7a5b1db47a2c30e419038df40dffa79a, type: 2}
|
||||||
|
levelOptions:
|
||||||
|
NumPeople: 10
|
||||||
|
AvgNumFriends: 8
|
||||||
|
FriendshipLikeliness: .600000024
|
||||||
|
SphereRadius: 7
|
||||||
|
strategy:
|
||||||
|
awarenessChange:
|
||||||
|
friendRatio: {x: .200000003, y: .800000012, z: 1.5}
|
||||||
|
lastDeath: {x: .600000024, y: .400000006, z: 1}
|
||||||
|
maxDeathDuration: 10080
|
||||||
|
modifier: .219999999
|
||||||
|
deathNoticing:
|
||||||
|
popularity: {x: .600000024, y: .400000006, z: 1}
|
||||||
|
importance: {x: .75, y: .25, z: 1}
|
||||||
|
numFriends: {x: .800000012, y: .200000003, z: 1}
|
||||||
|
awareness: {x: .800000012, y: .200000003, z: 1}
|
||||||
|
modifier: .0299999993
|
||||||
|
chanceToPost:
|
||||||
|
popularity: {x: .699999988, y: .300000012, z: 1}
|
||||||
|
importance: {x: .699999988, y: .300000012, z: 1}
|
||||||
|
frequency: {x: .699999988, y: .300000012, z: 1}
|
||||||
|
modifier: .100000001
|
||||||
|
sphere: 0
|
||||||
|
rotationSpeed: .699999988
|
||||||
|
torqueForce: 1
|
||||||
|
DetailsPanel: {fileID: 0}
|
||||||
|
dragging: 0
|
||||||
|
delta: {x: 0, y: 0, z: 0}
|
||||||
|
rb: {fileID: 0}
|
||||||
|
peopleNodes: []
|
||||||
|
_selectedNode: {fileID: 0}
|
||||||
|
_timeSinceLastClick: 0
|
||||||
|
_isRotatingTowardsNode: 0
|
||||||
|
--- !u!1001 &100100000
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications: []
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 0}
|
||||||
|
m_RootGameObject: {fileID: 121098}
|
||||||
|
m_IsPrefabParent: 1
|
||||||
8
Assets/Prefabs/NetworkingSphereTutorial.prefab.meta
Normal file
8
Assets/Prefabs/NetworkingSphereTutorial.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9adefd6039fcc8644b6aa63861ae1632
|
||||||
|
timeCreated: 1439773169
|
||||||
|
licenseType: Free
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
File diff suppressed because it is too large
Load Diff
@ -7,7 +7,7 @@ public class NetworkingSphere : MonoBehaviour
|
|||||||
{
|
{
|
||||||
public GameObjectsOptions gameObjects = new GameObjectsOptions();
|
public GameObjectsOptions gameObjects = new GameObjectsOptions();
|
||||||
public LevelOptions levelOptions = new LevelOptions();
|
public LevelOptions levelOptions = new LevelOptions();
|
||||||
public GameStrategy strategy = new GameStrategy();
|
public GameStrategy strategy = new GameStrategy();
|
||||||
private NetworkDisconnection sphere;
|
private NetworkDisconnection sphere;
|
||||||
|
|
||||||
[System.Serializable]
|
[System.Serializable]
|
||||||
@ -60,7 +60,7 @@ public class NetworkingSphere : MonoBehaviour
|
|||||||
{
|
{
|
||||||
int time = manager.GameLevel.DayTime;
|
int time = manager.GameLevel.DayTime;
|
||||||
GUI.Button(new Rect(50, 50, 100, 40), Utils.GetTimeString(time));
|
GUI.Button(new Rect(50, 50, 100, 40), Utils.GetTimeString(time));
|
||||||
GUI.Button(new Rect(160, 50, 100, 40), manager.GameLevel.Awareness + "");
|
GUI.Button(new Rect(160, 50, 100, 40), manager.GameLevel.Awareness + "");
|
||||||
}
|
}
|
||||||
|
|
||||||
void Update()
|
void Update()
|
||||||
|
|||||||
@ -19,7 +19,7 @@ public class TutorialScript : MonoBehaviour {
|
|||||||
void Update() {
|
void Update() {
|
||||||
|
|
||||||
|
|
||||||
btnNext.enabled = lvl.allowNext;
|
btnNext.gameObject.SetActive(lvl.allowNext);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user