October 2016
Intermediate to advanced
452 pages
9h 47m
English
This recipe shows you how to use the concepts introduced in the previous recipes to create an actor that informs other actors of the passage of time within your game.
Actor class called TimeOfDayHandler.DECLARE_MULTICAST_DELEGATE_TwoParams(FOnTimeChangedSignature, int32, int32)
FOnTimeChangedSignatureOnTimeChanged;
UPROPERTY() int32 TimeScale; UPROPERTY() int32 Hours; UPROPERTY() int32 Minutes; UPROPERTY() float ElapsedSeconds;
TimeScale = 60; Hours = 0; Minutes = 0; ElapsedSeconds ...
Read now
Unlock full access