跳到主要内容

Class PrefabResource

Properties

multiton

public bool multiton { get; private set; }

Constructors

PrefabResource(string address, [bool multiton = false])

public PrefabResource(string address, [bool multiton = false])

Methods

GameObject Get()

public GameObject Get()

GameObject Get(Transform parent)

public GameObject Get(Transform parent)

Task<GameObject> Instantiate()

public Task<GameObject> Instantiate()

Task<GameObject> Instantiate(Transform parent)

public Task<GameObject> Instantiate(Transform parent)

override Task<GameObject> Load()

public override Task<GameObject> Load()