Permalink
Browse files
Static Mesh: Update shape factories
- Loading branch information
|
@@ -95,4 +95,17 @@ public override ColliderShapeAsset New() |
|
|
return Create(); |
|
|
} |
|
|
} |
|
|
|
|
|
public class ColliderShapeStaticMeshFactory : AssetFactory<ColliderShapeAsset> |
|
|
{ |
|
|
public static ColliderShapeAsset Create() |
|
|
{ |
|
|
return new ColliderShapeAsset { ColliderShapes = { new StaticMeshColliderShapeDesc() } }; |
|
|
} |
|
|
|
|
|
public override ColliderShapeAsset New() |
|
|
{ |
|
|
return Create(); |
|
|
} |
|
|
} |
|
|
} |
|
|
@@ -1,7 +1,6 @@ |
|
|
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) |
|
|
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information. |
|
|
|
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
using Xenko.Core; |
|
|
using Xenko.Core.Mathematics; |
|
|
0 comments on commit
5c11f1f