浏览代码

Updated CHANGELOG/README + Fix in Type loading

/main
Thomas ICHÉ 5 年前
当前提交
42192d64
共有 3 个文件被更改,包括 38 次插入14 次删除
  1. 7
      CHANGELOG.md
  2. 23
      LocalPackages/net.peeweek.gameplay-ingredients/Runtime/Managers/Manager.cs
  3. 22
      README.md

7
CHANGELOG.md


# CHANGELOG
## 2019 - 08 - XX - Initial Release
## 2019 - 08 - 07 - Initial Release
* Requires Editor : **Unity 2019.2.0f1**
* Requires Editor : **[Unity 2019.2.0f1](https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.exe)**
* HDRP renders pitch-black on Linux Vulkan.
* Visual Effect Issues with macOS/metal
* HDRP renders pitch-black on Linux Vulkan

23
LocalPackages/net.peeweek.gameplay-ingredients/Runtime/Managers/Manager.cs


List<Type> types = new List<Type>();
foreach(var assembly in AppDomain.CurrentDomain.GetAssemblies())
{
foreach(Type t in assembly.GetTypes())
Type[] assemblyTypes = null;
try
{
assemblyTypes = assembly.GetTypes();
}
catch
{
Debug.LogError($"Could not load types from assembly : {assembly.FullName}");
}
if(assemblyTypes != null)
if(typeof(Manager).IsAssignableFrom(t) && !t.IsAbstract)
foreach (Type t in assemblyTypes)
types.Add(t);
}
if (typeof(Manager).IsAssignableFrom(t) && !t.IsAbstract)
{
types.Add(t);
}
}
}
return types.ToArray();
}

22
README.md


# SpaceshipDemo
# Spaceship Demo
For update information, see the changelog.
For update information, see the [changelog](https://github.com/Unity-Technologies/SpaceshipDemo/blob/master/CHANGELOG.md).
* Git For Windows + Git LFS (Required for Cloning the Repository)
* Unity 2019.2.0f1 or newer (See each release notes in changelog for version update)
* [Github Desktop](https://desktop.github.com/) or [Git For Windows](https://git-scm.com/download/win) + [Git LFS](https://git-lfs.github.com/) (Required for Cloning the Repository) or any other git client.
* Unity 2019.2.0f1 or newer (See each release notes in [changelog](https://github.com/Unity-Technologies/SpaceshipDemo/blob/master/CHANGELOG.md) for version requirements)
**Note**: This repository uses Git-LFS.In order to get the data correctly you need to install GitLFS before starting to clone the repository.
**Important Note**: This repository uses **Git-LFS** to store large files. In order to get the data correctly you need to [install Git-LFS](https://git-lfs.github.com/) before starting to clone the repository.
#### Using Github Desktop
If you have [Github Desktop](https://desktop.github.com/) installed : use the **Clone or Download** green button, then select **Open in Desktop**.
#### Using Git Command Line (or another Git Client)
### Method 2 : Download in Releases
### Method 2 : Download in Releases page
You can also download project archives in the [Releases](https://github.com/Unity-Technologies/SpaceshipDemo/releases) tab. These zip files contains the full project for a one-time download without Git.
You can also download project archives in the Releases tab. These zip files contains the full project for a one-time download without Git.
**Important Note** : As GitHub does not generate correct archives with LFS files, In order to download the correct project with largefiles, you need to download the file named **SPACESHIP_PROJECT.ZIP** instead of the automatically generated zip and tar.gz files.
正在加载...
取消
保存