Skip to content

Commit

Permalink
Datainjection test system 😫
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuhpik committed Mar 24, 2021
1 parent b1fbf17 commit 9c7d56f
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Assets/Testing/TestDatasSystems.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using Kuhpik;
using UnityEngine;

public class TestDatasSystems : GameSystem, IIniting
{
void IIniting.OnInit()
{
Debug.Log(player);
Debug.Log(game);
}
}
11 changes: 11 additions & 0 deletions Assets/Testing/TestDatasSystems.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions Assets/Testing/Testscene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,49 @@ MonoBehaviour:
showElementsOnHide: 0
elementsToHideOnOpen: []
elementsToShowOnHide: []
--- !u!1 &1164990991
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1164990992}
- component: {fileID: 1164990993}
m_Layer: 0
m_Name: Test Datas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1164990992
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1164990991}
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: 1319895960}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1164990993
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1164990991}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2225dcd1680fe994a9e51a73b3246631, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1199911530
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1299,6 +1342,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 988618776}
- {fileID: 1164990992}
m_Father: {fileID: 1383131874}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
Expand Down

0 comments on commit 9c7d56f

Please sign in to comment.