浏览代码

Issue #33 : Added More information to Null Logging in ToggleBehaviourAction, ToggleGameObjectAction, ToggleUIAction

/main
Thomas ICHÉ 4 年前
当前提交
a56a47b4
共有 4 个文件被更改,包括 4 次插入3 次删除
  1. 1
      CHANGELOG.md
  2. 2
      Runtime/LevelScripting/Actions/ToggleBehaviourAction.cs
  3. 2
      Runtime/LevelScripting/Actions/ToggleGameObjectAction.cs
  4. 2
      Runtime/LevelScripting/Actions/ToggleUIAction.cs

1
CHANGELOG.md


#### Fixed
* Fixed Manager Init Logging : now dependant of Gameplay Ingredients Settings verbose calls boolean.
* Added More information to Null Logging in ToggleBehaviourAction, ToggleGameObjectAction, ToggleUIAction
## 2020.2.0

2
Runtime/LevelScripting/Actions/ToggleBehaviourAction.cs


{
if (target.Behaviour == null)
{
Debug.Log("Target is null, ignoring");
Debug.LogWarning($"({gameObject.name}) > ToggleBehaviourAction ({this.Name}) Target is null, ignoring", this.gameObject);
}
else
{

2
Runtime/LevelScripting/Actions/ToggleGameObjectAction.cs


{
if (target.GameObject == null)
{
Debug.Log("Target is null, ignoring");
Debug.LogWarning($"({gameObject.name}) > ToggleGameObjectAction ({this.Name}) Target is null, ignoring", this.gameObject);
}
else
{

2
Runtime/LevelScripting/Actions/ToggleUIAction.cs


{
if (target.Selectable == null)
{
Debug.Log("Target is null, ignoring");
Debug.LogWarning($"({gameObject.name}) > ToggleUIAction ({this.Name}) Target is null, ignoring", this.gameObject);
}
else
{

正在加载...
取消
保存