Commit e95f785f authored by radow's avatar radow
Browse files

added (deactivated) SteamManager GO to tutorial

parent b1a814a7
......@@ -2131,6 +2131,62 @@ Transform:
m_Father: {fileID: 1028908792}
m_RootOrder: 12
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1090495306
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1090495309}
- component: {fileID: 1090495308}
- component: {fileID: 1090495307}
m_Layer: 0
m_Name: SteamManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!114 &1090495307
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1090495306}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c746b3472c20214f489ab756d9a0b225, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1090495308
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1090495306}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ef4bffeda13d7a748973ff9204401c07, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &1090495309
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1090495306}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 28.145435, y: -20.544352, z: -40.30048}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 21
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1118444026 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 919132148096638279, guid: 54461e695bee5104289d15e0b757f098, type: 3}
......
......@@ -17,8 +17,8 @@ public class TestSteam : MonoBehaviour
private void Update() {
if (SteamManager.Initialized && !init) {
m_GameID = new CGameID(SteamUtils.GetAppID());
Debug.Log(SteamFriends.GetPersonaName());
m_GameID = new CGameID(SteamUtils.GetAppID());
Debug.Log("RequestCurrentStats(): " + SteamUserStats.RequestCurrentStats());
SteamUserStats.SetAchievement("START");
Debug.Log("StoreStats(): " + SteamUserStats.StoreStats());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment