generated from pancake-llc/package
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'input' of https://github.com/pancake-llc/foundation
- Loading branch information
Showing
17 changed files
with
245 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
Assets/Heart/Modules/PrimeTween/Runtime/Internal/ITween.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/*// ReSharper disable UnusedMemberInSuper.Global | ||
using System; | ||
using JetBrains.Annotations; | ||
namespace PrimeTween { | ||
// ReSharper disable once TypeParameterCanBeVariant | ||
internal interface ITween<TResult> { | ||
bool isAlive { get; } | ||
void Stop(); | ||
void Complete(); | ||
TResult OnComplete([NotNull] Action onComplete, bool warnIfTargetDestroyed = true); | ||
TResult OnComplete<T>([NotNull] T target, [NotNull] Action<T> onComplete, bool warnIfTargetDestroyed = true) where T : class; | ||
Sequence Group(Tween tween); | ||
Sequence Chain(Tween tween); | ||
Sequence Group(Sequence sequence); | ||
Sequence Chain(Sequence sequence); | ||
void SetRemainingCycles(int cycles); | ||
void SetRemainingCycles(bool stopAtEndValue); | ||
int cyclesDone { get; } | ||
int cyclesTotal { get; } | ||
bool isPaused { get; set; } | ||
float timeScale { get; set; } | ||
float duration { get; } | ||
float durationTotal { get; } | ||
float elapsedTime { get; set; } | ||
float elapsedTimeTotal { get; set; } | ||
float progress { get; set; } | ||
float progressTotal { get; set; } | ||
// K OnUpdate<T>(T target, Action<T, Tween> onUpdate) where T : class; // Sequence doesn't support OnUpdate because its root updates before all children tweens, but it's reasonable that OnUpdate() should be called AFTER all sequence children are updated | ||
} | ||
}*/ |
3 changes: 3 additions & 0 deletions
3
Assets/Heart/Modules/PrimeTween/Runtime/Internal/ITween.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.