浏览代码
Handle Presence of Modules (#48)
Handle Presence of Modules (#48)
* Updated Changelog * Handle Physics2D module * Added WarnDisabledModule Attribute * Handle Screen Capture Module/main
GitHub
4 年前
当前提交
7a8b672f
共有 11 个文件被更改,包括 100 次插入 和 9 次删除
-
1CHANGELOG.md
-
14Editor/CustomInspectors/PingableEditor.cs
-
19Runtime/Attributes/CallableAttribute.cs
-
14Runtime/GameplayIngredients.asmdef
-
7Runtime/LevelScripting/Actions/TakeScreenshotAction.cs
-
9Runtime/LevelScripting/Events/OnCollider2DEvent.cs
-
9Runtime/LevelScripting/Events/OnTrigger2DEvent.cs
-
1Runtime/LevelScripting/Events/OnTriggerEvent.cs
-
7Runtime/Managers/Implementations/ScreenshotManager.cs
-
17Runtime/Attributes/WarnDisabledModuleAttribute.cs
-
11Runtime/Attributes/WarnDisabledModuleAttribute.cs.meta
|
|||
using System; |
|||
|
|||
[AttributeUsage(AttributeTargets.Class)] |
|||
public class CallableAttribute : Attribute |
|||
namespace GameplayIngredients |
|||
public string category; |
|||
public string iconPath; |
|||
public CallableAttribute(string category = "", string iconName = "") |
|||
[AttributeUsage(AttributeTargets.Class)] |
|||
public class CallableAttribute : Attribute |
|||
this.category = category; |
|||
this.iconPath = iconName; |
|||
public string category; |
|||
public string iconPath; |
|||
public CallableAttribute(string category = "", string iconName = "") |
|||
{ |
|||
this.category = category; |
|||
this.iconPath = iconName; |
|||
} |
|||
|
|||
|
|
|||
using System; |
|||
|
|||
namespace GameplayIngredients |
|||
{ |
|||
[AttributeUsage(AttributeTargets.Class)] |
|||
public class WarnDisabledModuleAttribute : Attribute |
|||
{ |
|||
public string module; |
|||
|
|||
public WarnDisabledModuleAttribute(string module) |
|||
{ |
|||
this.module = module; |
|||
} |
|||
} |
|||
} |
|||
|
|||
|
|
|||
fileFormatVersion: 2 |
|||
guid: 74b211a1354ee114ea4d2f79cbe73a69 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue