19 lines
616 B
C#
19 lines
616 B
C#
![]() |
// Copyright (c) 2015 - 2023 Doozy Entertainment. All Rights Reserved.
|
|||
|
// This code can only be used under the standard Unity Asset Store End User License Agreement
|
|||
|
// A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms
|
|||
|
|
|||
|
using Doozy.Editor.Reactor.Ticker;
|
|||
|
using Doozy.Runtime.Reactor.Internal;
|
|||
|
|
|||
|
namespace Doozy.Editor.Reactor.Internal
|
|||
|
{
|
|||
|
public static class ReactionExtensions
|
|||
|
{
|
|||
|
public static T SetEditorHeartbeat<T>(this T target) where T : Reaction
|
|||
|
{
|
|||
|
target.SetHeartbeat(new EditorHeartbeat());
|
|||
|
return target;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|