33 lines
588 B
C#
33 lines
588 B
C#
#if !NOT_UNITY3D
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Zenject
|
|
{
|
|
public interface IPrefabInstantiator
|
|
{
|
|
Type ArgumentTarget
|
|
{
|
|
get;
|
|
}
|
|
|
|
List<TypeValuePair> ExtraArguments
|
|
{
|
|
get;
|
|
}
|
|
|
|
GameObjectCreationParameters GameObjectCreationParameters
|
|
{
|
|
get;
|
|
}
|
|
|
|
GameObject Instantiate(InjectContext context, List<TypeValuePair> args, out Action injectAction);
|
|
|
|
UnityEngine.Object GetPrefab(InjectContext context);
|
|
}
|
|
}
|
|
|
|
#endif
|