MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Tick

Method Tick

Source/Engine/Level/Level.cpp:1090–1117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1088}
1089
1090SceneResult SceneLoader::Tick(Args& args)
1091{
1092 switch (Stage)
1093 {
1094 case Stages::Begin:
1095 return OnBegin(args);
1096 case Stages::Spawn:
1097 return OnSpawn(args);
1098 case Stages::SetupPrefabs:
1099 return OnSetupPrefabs(args);
1100 case Stages::SyncNewPrefabs:
1101 return OnSyncNewPrefabs(args);
1102 case Stages::Deserialize:
1103 return OnDeserialize(args);
1104 case Stages::SyncPrefabs:
1105 return OnSyncPrefabs(args);
1106 case Stages::Initialize:
1107 return OnInitialize(args);
1108 case Stages::SetupTransforms:
1109 return OnSetupTransforms(args);
1110 case Stages::BeginPlay:
1111 return OnBeginPlay(args);
1112 case Stages::End:
1113 return OnEnd(args);
1114 default:
1115 return SceneResult::Failed;
1116 }
1117}
1118
1119SceneResult SceneLoader::OnBegin(Args& args)
1120{

Callers 1

loadSceneMethod · 0.45

Calls 3

OnBeginFunction · 0.85
OnBeginPlayFunction · 0.85
OnEndFunction · 0.85

Tested by

no test coverage detected