gameObject Transform in DontDestroyOnLoad

后端 未结 0 1063
后悔当初
后悔当初 2021-01-28 04:35

I use the following script to copy the transform of a gameObject.

public Transform allignment;

void Update()
{
    DontDestroyOnLoad(transform.gameObject);

             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题