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

Method GetScript

Source/Engine/Level/Actor.cpp:695–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693}
694
695Script* Actor::GetScript(int32 index) const
696{
697 CHECK_RETURN(index >= 0 && index < Scripts.Count(), nullptr);
698 return Scripts[index];
699}
700
701Script* Actor::GetScript(const MClass* type) const
702{

Callers 10

CollectIdsMethod · 0.45
GetAllPrefabsMethod · 0.45
FindMethod · 0.45
AddScriptsMethod · 0.45
OnClickMissingRemoveMethod · 0.45
InitializeMethod · 0.45
GetMissingScriptsMethod · 0.45
ValidateActorsMethod · 0.45
OnDragDropMethod · 0.45

Calls 4

CountMethod · 0.45
HasInterfaceMethod · 0.45
GetClassMethod · 0.45
IsSubClassOfMethod · 0.45

Tested by

no test coverage detected