浏览代码

Issue #32 : Fixed Manager Init Logging : now dependant of Gameplay Ingredients Settings verbose calls boolean.

/main
Thomas ICHÉ 4 年前
当前提交
c3546a57
共有 4 个文件被更改,包括 14 次插入5 次删除
  1. 6
      CHANGELOG.md
  2. 2
      README.md
  3. 9
      Runtime/Managers/Manager.cs
  4. 2
      package.json

6
CHANGELOG.md


# Changelog
## 2020.2.1
#### Fixed
* Fixed Manager Init Logging : now dependant of Gameplay Ingredients Settings verbose calls boolean.
## 2020.2.0
This release changes the minimal version to **Unity 2020.2**

2
README.md


Gameplay Ingredients comes at latest version with the following compatibility:
**Unity 2020.2 +** : choose the tag `2020.2.0`
**Unity 2020.2 +** : choose the tag `2020.2.1`
#### Older Versions

9
Runtime/Managers/Manager.cs


var exclusionList = GameplayIngredientsSettings.currentSettings.excludedeManagers;
Debug.Log("Initializing all Managers...");
if(GameplayIngredientsSettings.currentSettings.verboseCalls)
Debug.Log("Initializing all Managers...");
Debug.Log($"Manager : {type.Name} is in GameplayIngredientSettings.excludedeManagers List: ignoring Creation");
Debug.LogWarning($"Manager : {type.Name} is in GameplayIngredientSettings.excludedeManagers List: ignoring Creation");
continue;
}
var attrib = type.GetCustomAttribute<ManagerDefaultPrefabAttribute>();

var comp = (Manager)gameObject.GetComponent(type);
s_Managers.Add(type,comp);
Debug.Log(string.Format(" -> <{0}> OK", type.Name));
if (GameplayIngredientsSettings.currentSettings.verboseCalls)
Debug.Log(string.Format(" -> <{0}> OK", type.Name));
}
}

2
package.json


{
"name": "net.peeweek.gameplay-ingredients",
"displayName": "Gameplay Ingredients",
"version": "2020.2.0",
"version": "2020.2.1",
"category": "Gameplay",
"unity": "2020.2",
"description": "Gameplay ingredients - A Collection of scripts for the editor and runtime to set-up gameplay actions and logic in your games.",

正在加载...
取消
保存