Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Character Plugin
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LuFG VR VIS
VR-Group
Unreal-Development
Plugins
Character Plugin
Commits
5542dd72
Commit
5542dd72
authored
4 years ago
by
Denys Kuznietsov
Browse files
Options
Downloads
Patches
Plain Diff
Cleaned-up visibility and conditions;
parent
12748e30
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Source/CharacterPlugin/Private/VHPointing.cpp
+6
-2
6 additions, 2 deletions
Source/CharacterPlugin/Private/VHPointing.cpp
Source/CharacterPlugin/Public/VHAnimInstance.h
+1
-1
1 addition, 1 deletion
Source/CharacterPlugin/Public/VHAnimInstance.h
with
7 additions
and
3 deletions
Source/CharacterPlugin/Private/VHPointing.cpp
+
6
−
2
View file @
5542dd72
...
...
@@ -35,7 +35,7 @@ void UVHPointing::TickComponent(float DeltaTime, ELevelTick TickType, FActorComp
}
else
{
VH_ERROR
(
"[UVHPointing::
BeginPlay
] No VHAnimInstance component attached"
);
VH_ERROR
(
"[UVHPointing::
TickComponent
] No VHAnimInstance component attached"
);
}
}
else
...
...
@@ -54,12 +54,16 @@ void UVHPointing::TickComponent(float DeltaTime, ELevelTick TickType, FActorComp
if
(
AngleLeftRight
>
0
)
{
VHAnimInstance
->
PointingUseHand
=
EPointingHand
::
HandLeft
;
}
else
if
(
AngleLeftRight
<
0
)
else
{
VHAnimInstance
->
PointingUseHand
=
EPointingHand
::
HandRight
;
}
}
}
else
{
VHAnimInstance
->
PointingUseHand
=
EPointingHand
::
HandNone
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Source/CharacterPlugin/Public/VHAnimInstance.h
+
1
−
1
View file @
5542dd72
...
...
@@ -42,7 +42,7 @@ public:
UPROPERTY
(
EditAnywhere
,
BlueprintReadWrite
)
FRotator
SkelControl_Head
=
FRotator
(
0.0f
,
0.0f
,
0.0f
);
UPROPERTY
(
Edit
Anywhere
,
BlueprintReadWrite
)
UPROPERTY
(
Visible
Anywhere
,
BlueprintReadWrite
)
TEnumAsByte
<
EPointingHand
>
PointingUseHand
=
EPointingHand
::
HandNone
;
UPROPERTY
(
EditAnywhere
,
BlueprintReadWrite
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment