Fixes for reflection code that hides itself frm Script explicitly but NOT from ScriptCanvas

monroegm-disable-blank-issue-2
chcurran 5 years ago
parent c4ab5fff9a
commit d1a5fb651b

@ -103,9 +103,7 @@ namespace EMotionFX
->Attribute("Hidden", AZ::Edit::Attributes::PropertyHidden)
->VirtualProperty("PlayTime", "GetPlayTime", "PlayTime")
->Event("Motion", &SimpleMotionComponentRequestBus::Events::Motion)
->Attribute(AZ::Script::Attributes::Ignore, true)
->Event("GetMotion", &SimpleMotionComponentRequestBus::Events::GetMotion)
->Attribute(AZ::Script::Attributes::Ignore, true)
->VirtualProperty("Motion", "GetMotion", "Motion")
->Event("BlendInTime", &SimpleMotionComponentRequestBus::Events::BlendInTime)
->Event("GetBlendInTime", &SimpleMotionComponentRequestBus::Events::GetBlendInTime)

@ -70,7 +70,6 @@ namespace EMotionFX
->Attribute("Hidden", AZ::Edit::Attributes::PropertyHidden)
->VirtualProperty("PreviewInEditor", "GetPreviewInEditor", "SetPreviewInEditor")
->Event("GetAssetDuration", &EditorSimpleMotionComponentRequestBus::Events::GetAssetDuration)
->Attribute(AZ::Script::Attributes::Ignore, true)
;
behaviorContext->Class<EditorSimpleMotionComponent>()

@ -86,7 +86,6 @@ namespace LmbrCentral
{
behaviorContext->Class<TagComponentBehaviorHelper>("Tag Helper")
->Method("Get Entities by Tag", &TagComponentBehaviorHelper::FindTaggedEntities)
->Attribute(AZ::Script::Attributes::Ignore, 0)
->Attribute(AZ::Script::Attributes::Category, "Gameplay/Tag")
->Attribute(AZ::ScriptCanvasAttributes::FloatingFunction, 0)
;

Loading…
Cancel
Save