blob: 2b147b71c67a70bee17f699d9218301e58641d88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
using System;
using UnityEngine;
namespace NGS.MeshFusionPro;
public interface ICombineSource
{
Vector3 Position { get; }
Bounds Bounds { get; }
event Action<ICombinedObject, ICombinedObjectPart> onCombined;
event Action<ICombinedObject, string> onCombineError;
event Action<ICombinedObject> onCombineFailed;
}
public interface ICombineSource<TCombinedObject, TCombinedPart> : ICombineSource where TCombinedObject : ICombinedObject where TCombinedPart : ICombinedObjectPart
{
event Action<TCombinedObject, TCombinedPart> onCombinedTyped;
event Action<TCombinedObject, string> onCombineErrorTyped;
event Action<TCombinedObject> onCombineFailedTyped;
}
|