unity-atoms/Source/Editor/Generator/Resources/UA_Template_UnityEvent.txt
Oliver Biwer 72f17db03f Canary/generator fix (#44)
* Moved Generator.cs into Editor folder under AtomsEditor.asmdef

Generator.cs must not be outside of the Editor Assembly Definition because it uses UnityEditor and thus would prevent games from building

* - cleaned up unused imports
- fixed a potential bug in Templating.cs because IndexOf is culture specific
    - at least warnings in Rider are now eliminated
- cleaned up the logic of Templating.cs
    - the while condition had never changed, it contained a redundant true
    - using an early return if the list is null

* Replaced ResolveConditionals in Templating.cs to allow nested IF-blocks
fixed typos
2019-06-17 23:09:42 +02:00

9 lines
156 B
Plaintext

using System;
using UnityEngine.Events;
namespace UnityAtoms
{
[Serializable]
public sealed class Unity{TYPE_NAME}Event : UnityEvent<{TYPE}> { }
}