Chris Gregan
9 years ago
4 changed files with 63 additions and 42 deletions
@ -0,0 +1,17 @@
|
||||
using System; |
||||
using UnityEngine; |
||||
|
||||
namespace Fungus |
||||
{ |
||||
public class ControlWithDisplay<TDisplayEnum> : Command |
||||
{ |
||||
[Tooltip("Display type")] |
||||
public TDisplayEnum display; |
||||
|
||||
protected bool IsDisplayNone<TEnum>(TEnum enumValue) |
||||
{ |
||||
string displayTypeStr = Enum.GetName(typeof (TEnum), enumValue); |
||||
return displayTypeStr == "None"; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 6b4717bbde4a5e64893724b3db7eb32c |
||||
timeCreated: 1463225157 |
||||
licenseType: Pro |
||||
MonoImporter: |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
Loading…
Reference in new issue